From cf941277492f8c927a7d46a35ab7837fba93ea7d Mon Sep 17 00:00:00 2001 From: trickypr Date: Wed, 13 Jul 2022 10:53:01 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20toolbar=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/browser/themes/pulse/addons/shared.css | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/browser/themes/pulse/addons/shared.css b/src/browser/themes/pulse/addons/shared.css index f22acc58..ac843daa 100644 --- a/src/browser/themes/pulse/addons/shared.css +++ b/src/browser/themes/pulse/addons/shared.css @@ -125,18 +125,14 @@ tab.tabbrowser-tab:nth-child(1) { } /* Fixing toolbar buttons when the tab box is present */ -.toolbar-items toolbarbutton image, -.toolbar-items toolbarbutton stack { - width: 24px !important; - height: 24px !important; +#TabsToolbar-customization-target toolbarbutton > .toolbarbutton-icon, +#TabsToolbar-customization-target toolbarbutton > .toolbarbutton-badge-stack { + margin-left: 8px; padding: 4px !important; - border-radius: var(--toolbarbutton-border-radius) !important; -} - -.toolbar-items toolbarbutton image { - padding: 0 !important; + margin-inline-end: 0 !important; width: auto !important; height: auto !important; + border-radius: var(--toolbarbutton-border-radius) !important; } /* ========================================================================== */