From f7badbc69c1c6bc5dd0504bcbd4b080225927fcc Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 10 Jun 2021 05:48:44 +0300 Subject: [PATCH] only apply taller pinned tabs when using compact mode --- chrome/non_floating_sharp_tabs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/non_floating_sharp_tabs.css b/chrome/non_floating_sharp_tabs.css index f33774b..cb1e44f 100644 --- a/chrome/non_floating_sharp_tabs.css +++ b/chrome/non_floating_sharp_tabs.css @@ -55,7 +55,7 @@ See the above repository for updates as well as full license text. */ /* tab shaping */ .tabbrowser-tab{ padding-inline: 0 !important; } -#tabbrowser-tabs[positionpinnedtabs] .tabbrowser-tab[pinned]{ min-height: calc(var(--tab-min-height) + 2px) !important; } +:root[uidensity="compact"] #tabbrowser-tabs[positionpinnedtabs] .tabbrowser-tab[pinned]{ min-height: calc(var(--tab-min-height) + 2px) !important; } .tab-content[pinned]{ padding-inline: 11px !important; }