From 05ffcd19c3f5323d66fbe04b52ae07b3c835d37b Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Mon, 29 Nov 2021 11:39:24 +0200 Subject: [PATCH] Add a comment to remove the line that makes close-buttons always visible This makes it more apparent that removing that one line makes pinned tabs otherwise normal, but they don't have close-buttons. --- chrome/normal_pinned_tabs.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/chrome/normal_pinned_tabs.css b/chrome/normal_pinned_tabs.css index add8871..d0a3928 100644 --- a/chrome/normal_pinned_tabs.css +++ b/chrome/normal_pinned_tabs.css @@ -25,7 +25,10 @@ See the above repository for updates as well as full license text. */ .tab-label-container[pinned]{ margin-inline-start: 8px } .tab-icon-sound:is([soundplaying],[muted],[activemedia-blocked],[pictureinpicture]), -.tab-close-button{ display: -moz-box !important; } + .tab-icon-overlay{ display: none !important; } -#tabbrowser-tabs[closebuttons="activetab"] > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]){ display: none !important; } \ No newline at end of file +#tabbrowser-tabs[closebuttons="activetab"] > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button:not([selected="true"]){ display: none !important; } + +/* Comment out or remove this if you want pinned tabs to never have close-button */ +.tab-close-button{ display: -moz-box !important; }