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; }