From 1621ecc3f44c48316f73da6682ab169f8884a63c Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 6 Feb 2022 09:36:12 +0200 Subject: [PATCH] set visibility:hidden for items in bookmarks toolbar when collapsed --- chrome/autohide_bookmarks_and_main_toolbars.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chrome/autohide_bookmarks_and_main_toolbars.css b/chrome/autohide_bookmarks_and_main_toolbars.css index 429636c..1828208 100644 --- a/chrome/autohide_bookmarks_and_main_toolbars.css +++ b/chrome/autohide_bookmarks_and_main_toolbars.css @@ -64,8 +64,10 @@ See the above repository for updates as well as full license text. */ max-height: initial !important; visibility: hidden !important } - -:root[sizemode="fullscreen"] #PersonalToolbar .bookmark-item{ visibility: hidden !important; } +#PersonalToolbar[collapsed="true"] #PlacesToolbarItems > *, +:root[sizemode="fullscreen"] #PersonalToolbar #PlacesToolbarItems > *{ + 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; }