Revert "Revert "Merge branch 'dev' into ll/fix-form-element-margin-bottom-in-grid""

This reverts commit 861daac49b.
This commit is contained in:
Lucas Larroche 2024-03-03 11:45:50 +07:00
parent ea20a9be5d
commit 070a4e2442
2 changed files with 4 additions and 1 deletions

View file

@ -407,6 +407,7 @@
option { option {
&:checked { &:checked {
background: var(#{$css-var-prefix}form-element-selected-background-color); background: var(#{$css-var-prefix}form-element-selected-background-color);
color: var(#{$css-var-prefix}form-element-color);
} }
} }
} }

View file

@ -126,7 +126,9 @@
background-image: none; background-image: none;
&::before { &::before {
margin-inline-start: calc(#{$switch-width * 0.5} - var(#{$css-var-prefix}border-width)); margin-inline-start: calc(
#{$switch-width} - #{$switch-height} / 2 - var(#{$css-var-prefix}border-width) * 3
);
} }
} }