Skip to content

Commit

Permalink
fix(tabsbar): Fix tabsAsHeaderbar for FF v133
Browse files Browse the repository at this point in the history
Closes #865fix(tabsbar): Fix tabsAsHeaderbar for FF v133
  • Loading branch information
rafaelmardojai committed Nov 27, 2024
1 parent fb45ed0 commit 442d525
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions theme/parts/tabsbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -634,13 +634,10 @@ tab {
/* OPTIONAL: Use tabs as headerbar */
@media (-moz-bool-pref: "gnomeTheme.tabsAsHeaderbar") {
/* Rearrange bars */
#navigator-toolbox #titlebar {
#navigator-toolbox #TabsToolbar {
order: 0;
}
#navigator-toolbox #titlebar #TabsToolbar {
order: 0;
}
#navigator-toolbox #titlebar #toolbar-menubar {
#navigator-toolbox #toolbar-menubar {
order: 1;
}
#navigator-toolbox #nav-bar {
Expand All @@ -655,6 +652,10 @@ tab {
order: 2 !important;
}
}

#TabsToolbar {
padding: 6px 3px 0 !important;
}

/* Padding should be removed on the side touching the URL bar */
.tabbrowser-tab {
Expand All @@ -668,11 +669,6 @@ tab {
:root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) #nav-bar {
border-radius: 0 !important;
}
:root[tabsintitlebar]:not([inFullscreen]) #nav-bar,
:root[tabsintitlebar][inFullscreen] #nav-bar {
padding-left: 3px !important;
padding-right: 3px !important;
}

/* Round and pad tab-bar */
:root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) #TabsToolbar {
Expand All @@ -682,8 +678,8 @@ tab {
padding: 0 46px;
}

/* Hide duplicate window controls from menubar */
:root[tabsintitlebar] #toolbar-menubar .titlebar-buttonbox-container {
/* Hide duplicate window controls from navbar */
:root[tabsintitlebar] #nav-bar .titlebar-buttonbox-container {
display: none !important;
}

Expand Down

0 comments on commit 442d525

Please sign in to comment.