Skip to content

Commit 83fd467

Browse files
committed
Focus indicator for on/off switches.
1 parent 30a4d38 commit 83fd467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/common.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ input:disabled, button:disabled, select:disabled {
137137
cursor: not-allowed !important;
138138
}
139139

140-
:focus-visible, .cap:focus-within {
140+
:focus-visible, :is(.cap, .switch):focus-within {
141141
outline: 0;
142142
filter:
143143
drop-shadow(2px 2px 2px var(--focus-color))

0 commit comments

Comments
 (0)