From 9bfde53e8472b23f8613dc087fa003d26289d5d8 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Sat, 13 Mar 2021 15:36:47 +0000 Subject: [PATCH] Bug 1697623 - Restore old non-proton compact mode paddings. DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D108315 --- browser/themes/shared/toolbarbuttons.inc.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/browser/themes/shared/toolbarbuttons.inc.css b/browser/themes/shared/toolbarbuttons.inc.css index 97d00dace579..3815102e755d 100644 --- a/browser/themes/shared/toolbarbuttons.inc.css +++ b/browser/themes/shared/toolbarbuttons.inc.css @@ -41,12 +41,6 @@ --toolbarbutton-focus-outline: var(--focus-outline); } } /*** END proton ***/ -@supports not -moz-bool-pref("browser.proton.toolbar.enabled") { -:root { - --toolbarbutton-outer-padding: 2px; - --toolbarbutton-inner-padding: 6px; -} -} /** END !proton **/ :root[uidensity=compact] { --toolbarbutton-outer-padding: 3px; @@ -54,6 +48,16 @@ --bookmark-block-padding: 1px; } +@supports not -moz-bool-pref("browser.proton.toolbar.enabled") { +:root { + --toolbarbutton-outer-padding: 2px; + --toolbarbutton-inner-padding: 6px; +} +:root[uidensity=compact] { + --toolbarbutton-outer-padding: 1px; +} +} /** END !proton **/ + :root[uidensity=touch] { --toolbarbutton-inner-padding: 9px; --bookmark-block-padding: 7px;