icon-only tabs: Collapse the tab icons when a tab group is collapsed
Fixes #602
This commit is contained in:
@@ -13,9 +13,14 @@ See the above repository for updates as well as full license text. */
|
|||||||
flex-grow: 0 !important;
|
flex-grow: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab[fadein]{ min-width: calc(16px + 2 * 10px + 4px) !important; }
|
.tabbrowser-tab[fadein]{
|
||||||
:root[uidensity="compact"] .tabbrowser-tab[fadein]{
|
min-width: calc(16px + 2 * 10px + 4px) !important;
|
||||||
min-width: calc(16px + 2 * var(--tab-inline-padding,0px) + 4px) !important;
|
:root[uidensity="compact"] & {
|
||||||
|
min-width: calc(16px + 2 * var(--tab-inline-padding,0px) + 4px) !important;
|
||||||
|
}
|
||||||
|
[collapsed] > &:not([selected]){
|
||||||
|
min-width: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
:root:not([uidensity="compact"]) .tab-content{ padding-inline: 10px !important; }
|
:root:not([uidensity="compact"]) .tab-content{ padding-inline: 10px !important; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user