From e6c9d912f11f23f7305bd1dc509220be361f319c Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Mon, 26 Aug 2024 19:15:13 +0800 Subject: [PATCH] No menu background when not hovered on MacOS (#4619) fix: #4614 --- scss/mac/_menupopup.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/mac/_menupopup.scss b/scss/mac/_menupopup.scss index 6ff143ee50..7125513ef1 100644 --- a/scss/mac/_menupopup.scss +++ b/scss/mac/_menupopup.scss @@ -34,6 +34,15 @@ menupopup { } } + &:not(:hover) { + menu, menuitem { + &[_moz-menuactive] { + background: transparent; + color: inherit; + } + } + } + menulist > &, &[needsgutter] { menu, menuitem {