aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/_carousel.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_carousel.scss')
-rw-r--r--vendor/twbs/bootstrap/scss/_carousel.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/vendor/twbs/bootstrap/scss/_carousel.scss b/vendor/twbs/bootstrap/scss/_carousel.scss
index 7f28061eb..0ac8f8714 100644
--- a/vendor/twbs/bootstrap/scss/_carousel.scss
+++ b/vendor/twbs/bootstrap/scss/_carousel.scss
@@ -165,7 +165,6 @@
margin-right: $carousel-control-width;
margin-bottom: 1rem;
margin-left: $carousel-control-width;
- list-style: none;
[data-bs-target] {
box-sizing: content-box;
@@ -231,8 +230,15 @@
@if $enable-dark-mode {
@include color-mode(dark) {
- .carousel {
- @include carousel-dark();
+ @if $color-mode-type == "media-query" {
+ .carousel {
+ @include carousel-dark();
+ }
+ } @else {
+ .carousel,
+ &.carousel {
+ @include carousel-dark();
+ }
}
}
}