replace uses of #browser-bottombox with #main-window > body::after

Browser-bottombox element has been removed from Firefox in 109 so lets
not use that anymore.
This commit is contained in:
MrOtherGuy
2022-12-30 16:57:10 +02:00
parent b434a2d9f5
commit a46d28bcab
3 changed files with 12 additions and 3 deletions

View File

@@ -36,8 +36,16 @@ linux_gtk_window_control_patch.css
#titlebar{ -moz-appearance: none !important; }
}
/* Move tabs below content */
:root:not([inDOMFullscreen]) #browser-bottombox{ margin-bottom: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px)) }
:root[inFullscreen]:not([inDOMFullscreen]) #browser-bottombox{ margin-bottom: 1px; }
#main-window > body::after{
content: "";
display: -moz-box;
}
#main-window:not([inFullscreen]) > body::after{
margin-bottom: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px));
}
#main-window[inFullscreen]:not([inDOMFullscreen]) > body::after{
margin-bottom: 1px;
}
#TabsToolbar{
position: fixed;