mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fix keyline width on empty dashboard tables
The styling of the empty message seems to conflict with the hard-coded widths added by the `dashboard-table` class. So we should only add the `dashboard-table` class when there is content we need to control the width of.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %}
|
{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %}
|
||||||
|
|
||||||
<div class='dashboard-table ajax-block-container'>
|
<div class='{% if broadcasts %}dashboard-table{% endif%} ajax-block-container'>
|
||||||
{% call(item, row_number) list_table(
|
{% call(item, row_number) list_table(
|
||||||
broadcasts|sort|reverse|list,
|
broadcasts|sort|reverse|list,
|
||||||
caption="Live broadcasts",
|
caption="Live broadcasts",
|
||||||
|
|||||||
Reference in New Issue
Block a user