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

This reverts commit 861daac49b36680c6e33764dfb29c764e29db7e6.
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 {
&:checked {
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;
&::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
);
}
}