Skip to content

Commit

Permalink
Add: First tab space option support #229
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Oct 10, 2021
1 parent 7acbf85 commit dabc91c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -1117,13 +1117,24 @@
}

/*= Tab Bar - Reduce Width, Show more tabs =================================*/
/* for First Tab Space */
:root {
--space-left-tabbar: 0px; /* If you want drag space, set to 8px */
}
:root:not([tabsintitlebar]) #tabbrowser-tabs:not([positionpinnedtabs]),
:root:is([sizemode="maximized"], [sizemode="fullscreen"]) #tabbrowser-tabs:not([positionpinnedtabs]) {
padding-inline-start: var(--space-left-tabbar) !important;
}

/* Titlebar Space */
.titlebar-spacer[type="pre-tabs"] {
width: 30px !important; /* Original: 40px */
}
.titlebar-spacer[type="post-tabs"] {
width: 25px !important; /* Original: 40px */
}

/* Tabbar Buttons */
:root {
--newtab-button-minus-width-padding: 2px;
--newtab-button-width-padding: calc(var(--toolbarbutton-inner-padding) - var(--newtab-button-minus-width-padding));
Expand Down

0 comments on commit dabc91c

Please sign in to comment.