Skip to content

Commit

Permalink
Update userChrome.css
Browse files Browse the repository at this point in the history
Fix firefox view button in tabs bar causing tabs glitch
  • Loading branch information
datguypiko authored May 20, 2024
1 parent 0907d10 commit 7e75434
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,6 @@ Order of Toolbars
display: none !important;
}

/* Remove line on the right side of the Firefox view button */
:root:not([privatebrowsingmode="temporary"]):not([firefoxviewhidden])
:is(#firefox-view-button, #wrapper-firefox-view-button)
+ #tabbrowser-tabs {
border-inline-start: 0 !important;
}

/* Remove line between website content and top bar */
#navigator-toolbox {
border-bottom: var(--firefoxcss-top-bar-border-bottom-size) solid
Expand Down Expand Up @@ -1081,11 +1074,18 @@ toolbar
box-shadow: none !important;
}

:root:not([privatebrowsingmode="temporary"]):not([firefoxviewhidden])
:is(#firefox-view-button, #wrapper-firefox-view-button)
+ #tabbrowser-tabs {
padding-inline-start: 0px !important;
margin-inline-start: 2px !important;
/* Remove line on the right side of the Firefox view button and fix margins */
:root:not([privatebrowsingmode], [firefoxviewhidden]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode]:not([firefoxviewhidden]) :is(
toolbarbutton:not(#firefox-view-button),
toolbarpaletteitem:not(#wrapper-firefox-view-button)
) + #tabbrowser-tabs {
border-inline-start: 0 !important;
margin-inline-start: 0px !important;
}

#firefox-view-button {
padding-right: 0px !important;
}

:root[privatebrowsingmode="temporary"] #PanelUI-menu-button {
Expand Down

0 comments on commit 7e75434

Please sign in to comment.