mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
Make hide_tabs_with_one_tab_w_window... compatible with tabs_on_bottom
This commit is contained in:
parent
2ed7f4c60c
commit
9d081f27b5
2 changed files with 4 additions and 3 deletions
|
@ -16,7 +16,7 @@ Window controls will be all wrong without it
|
|||
*/
|
||||
|
||||
:root{
|
||||
--uc-menubar-height: 28px; /* adjust as necessary */
|
||||
--uc-menubar-vertical-overlap: 28px; /* adjust as necessary */
|
||||
}
|
||||
#titlebar{ -moz-appearance: none !important; }
|
||||
/* We'll use window controls from menubar instead */
|
||||
|
@ -75,10 +75,10 @@ Window controls will be all wrong without it
|
|||
}
|
||||
|
||||
/* Window controls in nav-bar */
|
||||
:root:not([customizing]) #toolbar-menubar[inactive]{
|
||||
:root[tabsintitlebar]:not([customizing]) #toolbar-menubar[inactive]{
|
||||
height: initial !important;
|
||||
min-height: initial !important;
|
||||
margin-bottom: calc(0px - var(--uc-menubar-height,28px)) !important;
|
||||
margin-bottom: calc(0px - var(--uc-menubar-vertical-overlap,0px)) !important;
|
||||
}
|
||||
|
||||
:root:not([customizing]) #toolbar-menubar[autohide][inactive] > #menubar-items{ pointer-events: none; opacity: 0 }
|
||||
|
|
|
@ -38,6 +38,7 @@ linux_gtk_window_control_patch.css
|
|||
-moz-box-ordinal-group: 2;
|
||||
-moz-appearance: none !important;
|
||||
--tabs-navbar-shadow-size: 0px;
|
||||
--uc-menubar-vertical-overlap: 19px; /* for hide_tabs_with_one_tab_w_window_controls.css compatibility */
|
||||
}
|
||||
/* Re-order window and tab notification boxes */
|
||||
#navigator-toolbox > div{ display: contents }
|
||||
|
|
Loading…
Reference in a new issue