mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-02 02:29:24 +01:00
Fix gradient on switch checkbox (#30868)
This commit is contained in:
parent
95446d5e7a
commit
2df63f4925
@ -122,7 +122,7 @@
|
|||||||
background-position: $form-switch-checked-bg-position;
|
background-position: $form-switch-checked-bg-position;
|
||||||
|
|
||||||
@if $enable-gradients {
|
@if $enable-gradients {
|
||||||
background-image: escape-svg($form-switch-checked-bg-image), linear-gradient(180deg, $form-check-input-checked-bg-color, lighten($form-check-input-checked-bg-color, 10%));
|
background-image: escape-svg($form-switch-checked-bg-image), var(--bs-gradient);
|
||||||
} @else {
|
} @else {
|
||||||
background-image: escape-svg($form-switch-checked-bg-image);
|
background-image: escape-svg($form-switch-checked-bg-image);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user