Skip to content

Commit

Permalink
Merge pull request #132 from Yuxiaoy1/delete-icon-align
Browse files Browse the repository at this point in the history
Improve the display of table action buttons
  • Loading branch information
greyli authored May 29, 2021
2 parents 177f1a3 + f36ceff commit 2c1663a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_bootstrap/templates/bootstrap/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{% if delete_url %}
<form style="display:inline" action="{{ delete_url | replace(action_pk_placeholder, row[primary_key]) }}" method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<input type="image" src="{{ url_for('bootstrap.static', filename='img/delete.svg') }}" alt="Delete">
<input type="image" class="align-middle" src="{{ url_for('bootstrap.static', filename='img/delete.svg') }}" alt="Delete">
</form>
{% endif %}
</td>
Expand Down

0 comments on commit 2c1663a

Please sign in to comment.