This commit is contained in:
MrOtherGuy 2019-03-21 17:31:55 +02:00
commit 66080c4056

View file

@ -8,7 +8,11 @@
/* Scrollbar can't be clicked but the rows can be scrolled with mouse */ /* Scrollbar can't be clicked but the rows can be scrolled with mouse */
/* This maximum visible rows won't work before Fx66 */ /* This maximum visible rows won't work before Fx66 */
/* So this setting does nothing on Fx65 and all tab rows will be shown */ /* So this setting does nothing on Fx65 and all tab rows will be shown */
:root{ --multirow-n-rows: 3 } :root{
--multirow-n-rows: 3;
--multirow-tab-min-width: 100px;
--multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
}
#tabbrowser-tabs{ #tabbrowser-tabs{
min-height: unset !important; min-height: unset !important;
@ -53,8 +57,8 @@
} }
.tabbrowser-tab[fadein]:not([pinned]){ .tabbrowser-tab[fadein]:not([pinned]){
min-width: 100px !important; min-width: var(--multirow-tab-min-width) !important;
flex-grow: 1; flex-grow: var(--multirow-tab-dynamic-width);
/* /*
Uncomment to enable full-width tabs, also makes tab dragging a tiny bit more sensible Uncomment to enable full-width tabs, also makes tab dragging a tiny bit more sensible
Don't set to none or you'll see errors in console when closing tabs Don't set to none or you'll see errors in console when closing tabs
@ -69,4 +73,4 @@
#alltabs-button, #alltabs-button,
:root:not([customizing]) #TabsToolbar #new-tab-button, :root:not([customizing]) #TabsToolbar #new-tab-button,
#tabbrowser-tabs spacer, #tabbrowser-tabs spacer,
.tabbrowser-tab::after{ display: none !important } .tabbrowser-tab::after{ display: none !important }