Skip to content

Commit

Permalink
fix: Have buttons on newlines in movie list
Browse files Browse the repository at this point in the history
Co-authored-by: [email protected]
  • Loading branch information
noahpistilli committed Jul 1, 2024
1 parent 3495928 commit 302cce3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/movie_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
<td><img src="{{ url_for('get_movie_thumbnail', movie_id=movie.movie_id) }}"
alt="Thumbnail for {{ movie.movie_id }}"/></td>
<td>
<div class="field has-addons">
<div class="field has-addons" style="display:flex; flex-direction: column; gap: 8px;">
<div style="display:flex; flex-direction:row;">
<p class="control">
<a href="{{ url_for('save_movie', movie_id=movie.movie_id) }}"
class="button is-info">
Expand Down Expand Up @@ -73,6 +74,8 @@
</a>
</p>
{% endif %}
</div>
<div style="display:flex; flex-direction:row;">
<p class="control">
<a href="{{ url_for('edit_movie', movie_id=movie.movie_id) }}"
class="button is-info">
Expand All @@ -91,6 +94,7 @@
<span>Delete</span>
</a>
</p>
</div>
</div>
</td>
</tr>
Expand Down

0 comments on commit 302cce3

Please sign in to comment.