0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Update selectors for carousel media query color mode option (#38328)

This commit is contained in:
Mark Otto 2023-03-26 00:53:00 -07:00 committed by GitHub
parent d533e6f33d
commit f77117141d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,9 +230,15 @@
@if $enable-dark-mode {
@include color-mode(dark) {
@if $color-mode-type == "media-query" {
.carousel {
@include carousel-dark();
}
} @else {
.carousel,
&.carousel {
@include carousel-dark();
}
}
}
}