Skip to content

Commit 843bc51

Browse files
committed
Merge branch 'dev' into ll/fix-form-element-margin-bottom-in-grid
2 parents b8b7aa1 + fc15ec9 commit 843bc51

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

scss/forms/_basics.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@
407407
option {
408408
&:checked {
409409
background: var(#{$css-var-prefix}form-element-selected-background-color);
410+
color: var(#{$css-var-prefix}form-element-color);
410411
}
411412
}
412413
}

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)