mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +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;
|
||||
|
||||
@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 {
|
||||
background-image: escape-svg($form-switch-checked-bg-image);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user