@@ -634,13 +634,10 @@ tab {
634634/* OPTIONAL: Use tabs as headerbar */
635635@media (-moz-bool-pref : "gnomeTheme.tabsAsHeaderbar" ) {
636636 /* Rearrange bars */
637- # navigator-toolbox # titlebar {
637+ # navigator-toolbox # TabsToolbar {
638638 order : 0 ;
639639 }
640- # navigator-toolbox # titlebar # TabsToolbar {
641- order : 0 ;
642- }
643- # navigator-toolbox # titlebar # toolbar-menubar {
640+ # navigator-toolbox # toolbar-menubar {
644641 order : 1 ;
645642 }
646643 # navigator-toolbox # nav-bar {
@@ -655,6 +652,10 @@ tab {
655652 order : 2 !important ;
656653 }
657654 }
655+
656+ # TabsToolbar {
657+ padding : 6px 3px 0 !important ;
658+ }
658659
659660 /* Padding should be removed on the side touching the URL bar */
660661 .tabbrowser-tab {
@@ -668,11 +669,6 @@ tab {
668669 : root [tabsintitlebar ][sizemode = "normal" ]: not ([gtktiledwindow = "true" ]) # nav-bar {
669670 border-radius : 0 !important ;
670671 }
671- : root [tabsintitlebar ]: not ([inFullscreen ]) # nav-bar ,
672- : root [tabsintitlebar ][inFullscreen ] # nav-bar {
673- padding-left : 3px !important ;
674- padding-right : 3px !important ;
675- }
676672
677673 /* Round and pad tab-bar */
678674 : root [tabsintitlebar ][sizemode = "normal" ]: not ([gtktiledwindow = "true" ]) # TabsToolbar {
@@ -682,8 +678,8 @@ tab {
682678 padding : 0 46px ;
683679 }
684680
685- /* Hide duplicate window controls from menubar */
686- : root [tabsintitlebar ] # toolbar-menubar .titlebar-buttonbox-container {
681+ /* Hide duplicate window controls from navbar */
682+ : root [tabsintitlebar ] # nav-bar .titlebar-buttonbox-container {
687683 display : none !important ;
688684 }
689685
0 commit comments