fix(ui): use focus-visible instead of focus to prevent sticky hover effect on click (#10651)

This commit is contained in:
Rahul A Mistry
2026-01-26 22:28:29 +05:30
committed by GitHub
parent fc8111a203
commit 0c5261ee65
6 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -90,8 +90,8 @@
/* color: var(--icon-hover); */
/* } */
}
&:focus:not(:disabled) {
background-color: var(--surface-focus);
&:focus-visible:not(:disabled) {
background-color: var(--surface-raised-base-hover);
}
&:active:not(:disabled) {
background-color: var(--surface-raised-base-active);