0
0
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:
Martijn Cuppens 2020-05-19 22:06:50 +02:00 committed by GitHub
parent 95446d5e7a
commit 2df63f4925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}