From d35ebf19433d0a988e765e8f04edb5599a063c6c Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 18 Nov 2021 09:51:59 +0200 Subject: [PATCH] hide .bookmark-item elements in fullscreen mode. Fixes #154 For some reason individual .bookmark items in the toolbar are being rendered in Firefox 96, even though the toolbar itself is hidden. This patch applies a simple visibility:hidden to all of them. --- chrome/autohide_bookmarks_and_main_toolbars.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/autohide_bookmarks_and_main_toolbars.css b/chrome/autohide_bookmarks_and_main_toolbars.css index 7ef93ef..429636c 100644 --- a/chrome/autohide_bookmarks_and_main_toolbars.css +++ b/chrome/autohide_bookmarks_and_main_toolbars.css @@ -65,6 +65,8 @@ See the above repository for updates as well as full license text. */ visibility: hidden !important } +:root[sizemode="fullscreen"] #PersonalToolbar .bookmark-item{ visibility: hidden !important; } + /* The invisible toolbox will overlap sidebar so we'll work around that here */ #navigator-toolbox{ pointer-events: none; border-bottom: none !important; } #PersonalToolbar{ border-bottom: 1px solid var(--chrome-content-separator-color) }