Skip to content

Commit

Permalink
Fix problems related with Tab Bar and Window Controls on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Jan 16, 2020
1 parent 6498395 commit 7ea2a5d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/themes/shared/browser.inc.css
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@
}

:root:not([leftWindowControls])[tabsintitlebar] #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
padding-right: 95px;
padding-right: 100px;
}

:root[inFullscreen]:not([leftWindowControls])[tabsintitlebar] #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
Expand All @@ -577,7 +577,7 @@
}

:root[tabsintitlebar][leftWindowControls]:not([inFullscreen]) #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
padding-left: 95px !important;
padding-left: 100px !important;
}

:root[tabsintitlebar][leftWindowControls] #titlebar.tabs-topAboveAB #TabsToolbar, :root[inFullscreen][tabsintitlebar][leftWindowControls] #titlebar.tabs-topAboveAB #TabsToolbar
Expand Down
24 changes: 24 additions & 0 deletions browser/themes/windows/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -1052,3 +1052,27 @@ panel[touchmode] .PanelUI-subView #appMenu-zoom-controls > .subviewbutton-iconic
:root:not([inFullscreen])[tabsintitlebar][sizemode="maximized"] #titlebar:not(.tabs-topAboveAB) {
height: 40px;
}

@media (-moz-os-version: windows-win10) {
:root:not([leftWindowControls])[tabsintitlebar] #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
padding-right: 160px;
}
}

@media not (-moz-os-version: windows-win10) {
:root:not([leftWindowControls])[tabsintitlebar] #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
padding-right: 130px;
}
}

@media (-moz-os-version: windows-win7) {
:root[inFullscreen]:not([leftWindowControls])[tabsintitlebar] #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
padding-right: 80px;
}
}

@media (-moz-os-version: windows-win8) {
:root[inFullscreen]:not([leftWindowControls])[tabsintitlebar] #titlebar.tabs-topAboveAB #toolbar-menubar[autohide="true"] + #TabsToolbar {
padding-right: 120px;
}
}

0 comments on commit 7ea2a5d

Please sign in to comment.