mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
Add header to shrinking_pinned_tabs & 40px max-width for normal density
This commit is contained in:
parent
57edf88b16
commit
16267fe5ef
1 changed files with 9 additions and 2 deletions
|
@ -1,9 +1,16 @@
|
||||||
/*Make pinned tab width shrink dynamically, similar to unpinned tab width.*/
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/shrinking_pinned_tabs.css made available under Mozilla Public License v. 2.0
|
||||||
|
See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
|
/* Makes pinned tab width shrink dynamically, similar to unpinned tab width. */
|
||||||
|
|
||||||
#tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab[pinned] {
|
#tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab[pinned] {
|
||||||
flex-grow: 10;
|
flex-grow: 10;
|
||||||
-moz-box-flex: 10;
|
-moz-box-flex: 10;
|
||||||
max-width: 32px;
|
max-width: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root[uidensity="compact"] #tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab[pinned] {
|
||||||
|
max-width: 32px
|
||||||
}
|
}
|
||||||
|
|
||||||
#tabbrowser-arrowscrollbox:not([overflowing]) .tab-content[pinned] {
|
#tabbrowser-arrowscrollbox:not([overflowing]) .tab-content[pinned] {
|
||||||
|
|
Loading…
Reference in a new issue