Fix incorrect width on empty tables

Empty tables shouldn’t have `table-display: fixed` because it stops them
filling the width of their container.
This commit is contained in:
Chris Hill-Scott
2016-06-15 09:56:45 +01:00
parent f57f004687
commit c3a060eb8f

View File

@@ -41,7 +41,10 @@
</p>
{% endif %}
<div class='dashboard-table'>
{% if notifications %}
<div class='dashboard-table'>
{% endif %}
{% call(item, row_number) list_table(
notifications,
caption="Recent activity",
@@ -74,7 +77,9 @@
{% endcall %}
{% endcall %}
</div>
{% if notifications %}
</div>
{% endif %}
{{ previous_next_navigation(prev_page, next_page) }}