mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 03:44:38 -05:00
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:
@@ -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) }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user