From 753c37d010836fc53dbab9d005663d52fe4f7930 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 3 Jun 2021 13:44:18 +0300 Subject: [PATCH] add compatibility for fullscreen mode and autohide_toolbox.css --- chrome/toolbars_below_content.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chrome/toolbars_below_content.css b/chrome/toolbars_below_content.css index b1b62c4..de3d5eb 100644 --- a/chrome/toolbars_below_content.css +++ b/chrome/toolbars_below_content.css @@ -36,6 +36,14 @@ See the above repository for updates as well as full license text. */ #TabsToolbar > .titlebar-buttonbox-container{ display: none } #toolbar-menubar > .titlebar-buttonbox-container{ order: 1000 } + /* Fullscreen mode support */ + #navigator-toolbox[inFullscreen]{ margin-top: 0 !important } + #navigator-toolbox[inFullscreen][style*="margin-top"]{ visibility: collapse } + #fullscr-toggler{ bottom: 0; top: unset !important; } + + /* These two rules exist for compatibility with autohide_toolbox.css */ + #navigator-toolbox{ bottom: -1px; transform-origin: bottom } + /************** Menubar options ***************/