mirror of https://github.com/twbs/bootstrap.git
Update selectors for carousel media query color mode option (#38328)
This commit is contained in:
parent
d533e6f33d
commit
f77117141d
|
|
@ -230,9 +230,15 @@
|
|||
|
||||
@if $enable-dark-mode {
|
||||
@include color-mode(dark) {
|
||||
.carousel,
|
||||
&.carousel {
|
||||
@include carousel-dark();
|
||||
@if $color-mode-type == "media-query" {
|
||||
.carousel {
|
||||
@include carousel-dark();
|
||||
}
|
||||
} @else {
|
||||
.carousel,
|
||||
&.carousel {
|
||||
@include carousel-dark();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue