Don't depend on [inFullscreen] attribute for navigator-toolbox

Just use :root[sizemode="fullscreen"] instead
This commit is contained in:
MrOtherGuy
2024-05-16 05:23:04 +03:00
parent 9d8c38dd9d
commit 31cb27a5d8
3 changed files with 8 additions and 8 deletions

View File

@@ -52,8 +52,8 @@ See the above repository for updates as well as full license text. */
.panel-viewstack{ max-height: unset !important; }
/* Fullscreen mode support */
#navigator-toolbox[inFullscreen]{ margin-top: 0 !important }
#navigator-toolbox[inFullscreen][style*="margin-top"]{ visibility: collapse }
:root[sizemode="fullscreen"] #navigator-toolbox{ margin-top: 0 !important }
:root[sizemode="fullscreen"] #navigator-toolbox[style*="margin-top"]{ visibility: collapse }
#fullscr-toggler{ bottom: 0; top: unset !important; }
/* These three rules exist for compatibility with autohide_toolbox.css */