comparison 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
comparison
equal deleted inserted replaced
8:c271192aac9d 9:fcd65cf3f634
84 } 84 }
85 85
86 #no-entries-hint { 86 #no-entries-hint {
87 color: var(--secondary-color); 87 color: var(--secondary-color);
88 font: var(--font-display-20); 88 font: var(--font-display-20);
89 display: none;
90 }
91
92 #no-entries-hint:last-child {
93 display: block;
89 } 94 }
90 95
91 #no-entries-hint, 96 #no-entries-hint,
92 .entry { 97 .entry {
93 clear: both; 98 clear: both;