From 68e1596467422350774f9c0bae0c7be2fd3f94ce Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 24 Jun 2021 10:53:26 +0900 Subject: [PATCH] Fix Context Menu - arrow align at mac --- userChrome.css | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/userChrome.css b/userChrome.css index dba09d3..db0b122 100644 --- a/userChrome.css +++ b/userChrome.css @@ -535,17 +535,19 @@ padding-block: var(--menu-padding, 0.5em) !important; } - :root:not([uidensity=touch]) .menu-text, .menu-iconic-text { - padding-inline-end: 0 !important; /* Original: 2px */ - } - :root:not([uidensity=touch]) .menupopup-arrowscrollbox { - padding-block: 1px !important; /* Original: 4px*/ - } - :root:not([uidensity=touch]) #context-navigation:not([hidden]) { - padding: 0 0 1px !important; /* Original: 0 0 4px*/ - } - :root:not([uidensity=touch]) .menu-right { - margin-right: 6px !important; /* Original: 12px */ + @supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { + :root:not([uidensity=touch]) .menu-text, .menu-iconic-text { + padding-inline-end: 0 !important; /* Original: 2px */ + } + :root:not([uidensity=touch]) .menupopup-arrowscrollbox { + padding-block: 1px !important; /* Original: 4px*/ + } + :root:not([uidensity=touch]) #context-navigation:not([hidden]) { + padding: 0 0 1px !important; /* Original: 0 0 4px*/ + } + :root:not([uidensity=touch]) .menu-right { + margin-right: 6px !important; /* Original: 12px */ + } } /** Panel - Icons ***********************************************************/