From c3a060eb8f0fb26b993ddeaa2af8668a3dd44fc0 Mon Sep 17 00:00:00 2001
From: Chris Hill-Scott
Date: Wed, 15 Jun 2016 09:56:45 +0100
Subject: [PATCH] Fix incorrect width on empty tables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Empty tables shouldn’t have `table-display: fixed` because it stops them
filling the width of their container.
---
app/templates/views/notifications.html | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/app/templates/views/notifications.html b/app/templates/views/notifications.html
index faca04682..592eb3ec1 100644
--- a/app/templates/views/notifications.html
+++ b/app/templates/views/notifications.html
@@ -41,7 +41,10 @@
{% endif %}
-
+
+ {% if notifications %}
+
+ {% endif %}
{% call(item, row_number) list_table(
notifications,
caption="Recent activity",
@@ -74,7 +77,9 @@
{% endcall %}
{% endcall %}
-
+ {% if notifications %}
+
+ {% endif %}
{{ previous_next_navigation(prev_page, next_page) }}