From ab3eadf76709e6b19d827c420d12542880754baa Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 24 Mar 2025 18:13:49 +0530 Subject: [PATCH] [WEB-3614] fix: cmd-k item focus state (#6800) --- web/styles/command-pallette.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/styles/command-pallette.css b/web/styles/command-pallette.css index 133b5299f..bd3685e76 100644 --- a/web/styles/command-pallette.css +++ b/web/styles/command-pallette.css @@ -30,7 +30,7 @@ background-color: rgba(var(--color-background-100)); } -[cmdk-item]:hover { +[cmdk-item]:focus { background-color: rgba(var(--color-background-80)); } @@ -45,7 +45,7 @@ background-color: transparent; } -[cmdk-item][aria-disabled="true"]:hover, -[cmdk-item][data-disabled="true"]:hover { +[cmdk-item][aria-disabled="true"]:focus, +[cmdk-item][data-disabled="true"]:focus { background-color: rgba(var(--color-background-80), 0.7); }