From 352388e92abbae7e03db17b4b2831818ab09f9ce Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 14 Jul 2020 15:22:48 +0100 Subject: [PATCH] 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. --- app/templates/views/broadcast/partials/dashboard-table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/broadcast/partials/dashboard-table.html b/app/templates/views/broadcast/partials/dashboard-table.html index 615326b0b..fd197201e 100644 --- a/app/templates/views/broadcast/partials/dashboard-table.html +++ b/app/templates/views/broadcast/partials/dashboard-table.html @@ -1,6 +1,6 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %} -
+
{% call(item, row_number) list_table( broadcasts|sort|reverse|list, caption="Live broadcasts",