1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-07 06:06:47 +02: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

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