From ffe93407c4ade838945de1695794d8c05ab3ea68 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 26 Dec 2019 19:54:46 +0100 Subject: [PATCH] Fallback msg --- templates/display.html | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/templates/display.html b/templates/display.html index 145a932..9513664 100644 --- a/templates/display.html +++ b/templates/display.html @@ -52,6 +52,21 @@ border: 2px solid black; padding: 1em; } + + displaylist fallback { + padding: 1em; + } + + list:not(:empty) + fallback { + display: none; + } + + fallback { + display: grid; + + place-content: center; + text-align: center; + } {% endblock %} @@ -59,6 +74,12 @@ @@ -105,9 +126,6 @@ for (item in list) { add(item); } - add("+"); - add("+"); - add("+"); displayList.hidden = false; }