Performance: Get rid of extra fixed element when it's not showing anything.

This commit is contained in:
ccd0 2018-12-07 19:31:11 -08:00
parent a133370dc5
commit 9f8ee7a126

View File

@ -440,6 +440,9 @@ audio.controls-added {
left: 0;
visibility: visible;
}
#notifications:empty {
display: none;
}
:root.fixed.top-header:not(.gallery-open) #header-bar #notifications,
:root.fixed.top-header #header-bar.autohide #notifications {
position: absolute;