Update navbar_tabs_oneliner_tabs_on_left

This patch makes the style use same logic for window controls on left
layout that we now use elsewhere.
This commit is contained in:
MrOtherGuy 2022-12-24 08:37:45 +02:00
parent fd7b8500db
commit be90242a5c

View file

@ -81,8 +81,16 @@ Window controls will be all wrong without it
#nav-bar{ border-left-width: 0px !important }
#nav-bar::before{ display:none !important }
/* Rules specific to window controls on right layout */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
/* Rules specific to window controls on left layout */
@media (-moz-platform: macos),
(-moz-gtk-csd-reversed-placement){
:root:not([inFullscreen]) #TabsToolbar-customization-target > .titlebar-spacer[type="pre-tabs"]{
width: var(--uc-window-drag-space-post) !important;
display: -moz-box !important;
}
#TabsToolbar > .titlebar-buttonbox-container{ display: -moz-box; }
}
@supports -moz-bool-pref("userchrome.force-window-controls-on-left.enabled"){
:root:not([inFullscreen]) #TabsToolbar-customization-target > .titlebar-spacer[type="pre-tabs"]{
width: var(--uc-window-drag-space-post) !important;
display: -moz-box !important;