adjustments for bookmarks toolbar item sizing

This fixes an issue with Firefox 108 where an empty "placeholder" space
would appear below tabs toolbar.
This commit is contained in:
MrOtherGuy
2022-12-14 09:16:30 +02:00
parent 4918f31c82
commit 0c0ba80f0b
2 changed files with 3 additions and 15 deletions

View File

@@ -9,7 +9,6 @@ See the above repository for updates as well as full license text. */
}
:root[uidensity="compact"] #navigator-toolbox{
--uc-bm-padding: 1px;
--uc-navbar-height: -34px;
}
:root[uidensity="touch"] #navigator-toolbox{ --uc-bm-padding: 6px }
@@ -44,17 +43,7 @@ See the above repository for updates as well as full license text. */
}
:root[sessionrestored]:not([customizing]) #navigator-toolbox{
margin-bottom: calc(0px - var(--uc-bm-height) + var(--uc-navbar-height));
}
#PlacesToolbarItems > .bookmark-item {
min-height: calc(var(--uc-bm-height) - 4px); /* Bookmarks have 2px block margin */
padding-block: 0px !important;
}
#OtherBookmarks,
#PlacesChevron,
#PersonalToolbar > #import-button{
padding-block: var(--uc-bm-padding) !important;
margin-bottom: calc(-1px - var(--uc-bm-height) + var(--uc-navbar-height));
}
/* Make sure the bookmarks toolbar is never collapsed even if it is disabled */