Skip to content

Commit 4fcd157

Browse files
fix(switch): Standalone version fixes (#3046)
1 parent 552f68e commit 4fcd157

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scss/forms/_control-item.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,19 @@
559559

560560
.switch-standalone {
561561
@extend %control-item-standalone;
562+
padding: 0;
563+
564+
&:has(input:hover),
565+
&:has(input:active),
566+
&:has(input:focus-visible) {
567+
background-color: transparent;
568+
outline: 0;
569+
box-shadow: none;
570+
}
571+
572+
input:focus-visible {
573+
@include focus-visible();
574+
}
562575
}
563576

564577

0 commit comments

Comments
 (0)