From 16267fe5efc73a57f6d5120b9537fb609c0bda0e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 10 Aug 2022 11:15:08 +0300 Subject: [PATCH] Add header to shrinking_pinned_tabs & 40px max-width for normal density --- chrome/shrinking_pinned_tabs.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/chrome/shrinking_pinned_tabs.css b/chrome/shrinking_pinned_tabs.css index 305e828..1e102f1 100644 --- a/chrome/shrinking_pinned_tabs.css +++ b/chrome/shrinking_pinned_tabs.css @@ -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] { flex-grow: 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] {