Skip to content

Commit 00718df

Browse files
committed
Merge branch 'dev' into ll/fix-select-multiple
2 parents 3fcddcf + f0b889e commit 00718df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scss/forms/_checkbox-radio-switch.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@
126126
background-image: none;
127127

128128
&::before {
129-
margin-inline-start: calc(#{$switch-width * 0.5} - var(#{$css-var-prefix}border-width));
129+
margin-inline-start: calc(
130+
#{$switch-width} - #{$switch-height} / 2 - var(#{$css-var-prefix}border-width) * 3
131+
);
130132
}
131133
}
132134

0 commit comments

Comments
 (0)