diff web_resources/style/feed-preview.css @ 9:fcd65cf3f634

Simplify the hint shown if there are no entries Always create the element and hide it with CSS if there are entries.
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Tue, 27 Nov 2018 16:05:14 +0100
parents c271192aac9d
children ff5e5e3eba32
line wrap: on
line diff
--- a/web_resources/style/feed-preview.css	Tue Nov 27 11:11:15 2018 +0100
+++ b/web_resources/style/feed-preview.css	Tue Nov 27 16:05:14 2018 +0100
@@ -86,6 +86,11 @@
 #no-entries-hint {
   color: var(--secondary-color);
   font: var(--font-display-20);
+  display: none;
+}
+
+#no-entries-hint:last-child {
+  display: block;
 }
 
 #no-entries-hint,