Add workarounds for bug 1705215

This commit is contained in:
MrOtherGuy
2023-07-18 19:16:42 +03:00
parent a67074ccfa
commit 5ea61e3d40
4 changed files with 26 additions and 1 deletions

View File

@@ -227,7 +227,15 @@ See the above repository for updates as well as full license text. */
:root:not([customizing]) #TabsToolbar #new-tab-button,
#tabbrowser-arrowscrollbox > spacer,
.tabbrowser-tab::after{ display: none !important } /* Also disables tab separators since they mysteriously break tab-row scrolling */
:root[BookmarksToolbarOverlapsBrowser] #PersonalToolbar{
position: absolute;
top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding));
width: 100vw;
}
:root[BookmarksToolbarOverlapsBrowser] #navigator-toolbox-background{
margin-bottom: 0 !important;
z-index: auto !important;
}
@supports -moz-bool-pref("userchrome.multirowtabs.static-menubar.enabled"){
:root{
--multirow-menubar-height: 28px;
@@ -241,5 +249,8 @@ See the above repository for updates as well as full license text. */
:root:not([inFullscreen]) #nav-bar{
top: calc(var(--multirow-menubar-height) + var(--multirow-top-padding));
}
:root[BookmarksToolbarOverlapsBrowser] #PersonalToolbar{
top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding) + var(--multirow-menubar-height));
}
}
}