Skip to content

Instantly share code, notes, and snippets.

@forexhill
Last active January 28, 2023 21:55
Show Gist options
  • Save forexhill/b0446cc31e5001c9e87754df83f0f1ca to your computer and use it in GitHub Desktop.
Save forexhill/b0446cc31e5001c9e87754df83f0f1ca to your computer and use it in GitHub Desktop.
.tabbrowser-tab:not([pinned]) {min-width:35px;max-width:35px;}
.tabbrowser-tab,.tab-background {height:var(--tab-min-height);}
.tab-stack {width: 100%;}
#tabbrowser-tabs .scrollbox-innerbox {display: flex;flex-wrap: wrap;}
#tabbrowser-tabs .arrowscrollbox-scrollbox {overflow: visible;display: block;}
#titlebar,#titlebar-buttonbox{height:var(--tab-min-height) !important;}
#titlebar{margin-bottom:calc(var(--tab-min-height)*-1) !important;}
#main-window[sizemode="maximized"] #titlebar{margin-bottom:calc(6px + var(--tab-min-height)*-1) !important;}
#main-window[sizemode="maximized"] #TabsToolbar{margin-left:var(--tab-min-height);}
#titlebar:active{margin-bottom:0 !important;}
#titlebar:active #titlebar-content{margin-bottom:var(--tab-min-height) !important;}
#tabbrowser-tabs .scrollbutton-up,.tabbrowser-tabs .scrollbutton-down,#alltabs-button,.tabbrowser-tab:not([fadein]){display: none;}
@navel
Copy link

navel commented Jan 24, 2019

Fix titlebar height for Firefox developer version
7 and 8 rows:

#titlebar{margin-bottom:calc(30px + var(--tab-min-height)*-1) !important;}
#main-window[sizemode="maximized"] #titlebar{margin-bottom:calc(30px + var(--tab-min-height)*-1) !important;}

@SecT0uch
Copy link

SecT0uch commented Jan 31, 2019

Fix titlebar height for Firefox developer version
7 and 8 rows:

#titlebar{margin-bottom:calc(30px + var(--tab-min-height)*-1) !important;}
#main-window[sizemode="maximized"] #titlebar{margin-bottom:calc(30px + var(--tab-min-height)*-1) !important;}

@navel Works perfectly with Firefox 65.0 Stable except the empty space in the top left corner :
image

@pepe2k
Copy link

pepe2k commented Jan 31, 2019

@navel Works perfectly with Firefox 65.0 Stable except the empty space in the top left corner :

Just drop line 9.

Cheers,
Piotr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment