placeholder support: Don't set navigator-toolbox to position:relative

Instead, let the few styles that depend on it deal with it themselves by
setting position:relative to titlebar. Fixes #388
This commit is contained in:
MrOtherGuy
2024-07-27 10:32:52 +03:00
parent 175df68da4
commit ae2db1a1c3
3 changed files with 2 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ Window controls will be all wrong without it
opacity: 1 !important;
}
#TabsToolbar{ visibility: collapse !important }
:root[sizemode="fullscreen"] #titlebar{ position: relative }
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
visibility: visible !important;

View File

@@ -26,6 +26,7 @@ Window controls will be all wrong without it
transition: none !important;
opacity: 1 !important;
}
:root[sizemode="fullscreen"] #titlebar{ position: relative }
/* We'll use window controls from menubar instead */
#TabsToolbar > .titlebar-buttonbox-container { display: none }
/* Hide overflow button unless tabs overflow - is necessary for collpasing tabs with one tab */

View File

@@ -44,7 +44,6 @@ See the above repository for updates as well as full license text. */
.titlebar-buttonbox{ color: var(--toolbar-color) }
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none }
:root[sizemode="fullscreen"] #navigator-toolbox { position: relative; }
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child{
position: absolute;