From 8854d43c4442862c190441bfd63ab135e2371a16 Mon Sep 17 00:00:00 2001 From: Glandos Date: Wed, 3 Jan 2018 16:12:15 +0100 Subject: [PATCH] [more-compact-tabs.css] compact buttons in tab bar If some buttons are located in the tab bar, they extend it to 27px. Buttons can come from extension, or Firefox itself (with the "all-tabs" dropdown). This patch should avoid the vertical expansion. --- tabs/more-compact-tabs.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tabs/more-compact-tabs.css b/tabs/more-compact-tabs.css index f253a7b..a4827af 100644 --- a/tabs/more-compact-tabs.css +++ b/tabs/more-compact-tabs.css @@ -18,3 +18,12 @@ margin: var(--newtab-margin) !important; } +#TabsToolbar > .toolbarbutton-1 { + margin-bottom: 0 !important; + max-height: var(--tab-min-height) !important; +} + +#TabsToolbar > .toolbarbutton-1 > .toolbarbutton-badge-stack, .toolbarbutton-icon { + padding-top: 1px !important; + padding-bottom: 1px !important; +}