Commit 2bf4de06 authored by Mark Otto's avatar Mark Otto
Browse files

Update carousel display settings

Use `display: block` since we're not really using any flex styles on the `.carousel-items` (only their controls and indicators). For the indicators, since moving to `width`, our indicators grow to fill available space, so we need to change `flex: 1 0 auto` to `flex: 0 1 auto` to prevent that.
parent 75156f41
Showing with 2 additions and 2 deletions
+2 -2
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
.carousel-item.active, .carousel-item.active,
.carousel-item-next, .carousel-item-next,
.carousel-item-prev { .carousel-item-prev {
display: flex; display: block;
} }
.carousel-item-next, .carousel-item-next,
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
li { li {
position: relative; position: relative;
flex: 1 0 auto; flex: 0 1 auto;
width: $carousel-indicator-width; width: $carousel-indicator-width;
height: $carousel-indicator-height; height: $carousel-indicator-height;
margin-right: $carousel-indicator-spacer; margin-right: $carousel-indicator-spacer;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment