From 57edf88b16ddbcb53bf24954659abe2783a261fe Mon Sep 17 00:00:00 2001 From: sonofevil Date: Wed, 10 Aug 2022 10:09:48 +0200 Subject: [PATCH] Create shrinking_pinned_tabs.css (#201) --- chrome/shrinking_pinned_tabs.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 chrome/shrinking_pinned_tabs.css diff --git a/chrome/shrinking_pinned_tabs.css b/chrome/shrinking_pinned_tabs.css new file mode 100644 index 0000000..305e828 --- /dev/null +++ b/chrome/shrinking_pinned_tabs.css @@ -0,0 +1,16 @@ +/*Make 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; +} + +#tabbrowser-arrowscrollbox:not([overflowing]) .tab-content[pinned] { + padding: 0px !important; + -moz-box-pack: center; +} + +.tab-label-container[pinned] { + display: none; +}