From 85c730923b6ad4d844e59d13355224c38c66e4fd Mon Sep 17 00:00:00 2001 From: Pouya Saadeghi Date: Wed, 7 Jun 2023 17:28:44 +0300 Subject: [PATCH] fix: #1868 --- src/components/styled/menu.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/styled/menu.css b/src/components/styled/menu.css index 48661f1ae47..01efdfe8d07 100644 --- a/src/components/styled/menu.css +++ b/src/components/styled/menu.css @@ -22,13 +22,13 @@ :where(li:not(.menu-title):not(.disabled) > *:not(ul):not(details):not(.menu-title)), :where(li:not(.menu-title):not(.disabled) > details > summary:not(.menu-title)) { - &.focus, - &:focus { - @apply outline-none bg-base-content/10 cursor-pointer; + &:not(.active).focus, + &:not(.active):focus { + @apply outline-none bg-base-content/10 text-base-content cursor-pointer; } @media (hover: hover) { - &:hover { - @apply outline-none bg-base-content/10 cursor-pointer; + &:not(.active):hover { + @apply outline-none bg-base-content/10 text-base-content cursor-pointer; } } &:active,