From 5b33d5b45db313fb78a401f2959f3ca88fec3651 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 28 Aug 2024 16:36:08 +0300 Subject: [PATCH] autohide bm and main toolbars: set a height for empty bm scrollbox Fixes #400 --- chrome/autohide_bookmarks_and_main_toolbars.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/autohide_bookmarks_and_main_toolbars.css b/chrome/autohide_bookmarks_and_main_toolbars.css index 7728309..6fe16bb 100644 --- a/chrome/autohide_bookmarks_and_main_toolbars.css +++ b/chrome/autohide_bookmarks_and_main_toolbars.css @@ -69,6 +69,11 @@ See the above repository for updates as well as full license text. */ visibility: hidden !important; } +/* If bookmarks toolbar is collapsed on startup, then no items are generated, and we need to set some height for it */ +#PlacesToolbarItems:empty{ + height: var(--uc-bm-height); +} + /* Selected tab needs higher z-index now to "hide" the broder below it */ .tabbrowser-tab[selected]{ z-index: 3 !important; }