From dabc91cde340d5a85d092ba03bcdce12db9e6f4e Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Sun, 10 Oct 2021 23:22:22 +0900 Subject: [PATCH] Add: First tab space option support #229 --- userChrome.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/userChrome.css b/userChrome.css index 907e635..682135e 100644 --- a/userChrome.css +++ b/userChrome.css @@ -1117,6 +1117,16 @@ } /*= 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 */ } @@ -1124,6 +1134,7 @@ 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));