[WEB-3614] fix: cmd-k item focus state (#6800)

This commit is contained in:
Anmol Singh Bhatia 2025-03-24 18:13:49 +05:30 committed by GitHub
parent dbdf2f001a
commit ab3eadf767
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}