Commit 46d64f69 authored by Ryan Beymer's avatar Ryan Beymer

flask-admin/flask-admin#1486 - fix column sizing

parent 8e11da2c
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
{% block file_list_table %} {% block file_list_table %}
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-bordered model-list"> <table class="table table-hover">
<thead> <thead>
<tr> <tr>
{% block list_header scoped %} {% block list_header scoped %}
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
{% endblock %} {% endblock %}
</tr> </tr>
</thead> </thead>
<tbody>
{% for name, path, is_dir, size, date in items %} {% for name, path, is_dir, size, date in items %}
<tr> <tr>
{% block list_row scoped %} {% block list_row scoped %}
...@@ -134,6 +135,7 @@ ...@@ -134,6 +135,7 @@
{% endblock %} {% endblock %}
</tr> </tr>
{% endfor %} {% endfor %}
</tbody>
</table> </table>
</div> </div>
{% endblock %} {% endblock %}
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
{% endif %} {% endif %}
{% block list_row_actions_header %} {% block list_row_actions_header %}
{% if admin_view.column_display_actions %} {% if admin_view.column_display_actions %}
<th class="col-md-1">&nbsp;</th> <th>&nbsp;</th>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% for c, name in list_columns %} {% for c, name in list_columns %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment