This revamps the indicators to use flexbox instead of inline-block for added flexbility (hah). Indicators now automatically scale based on the number of elements present, and max out at the `$carousel-indicator-width` instead of always being that wide.
bottom: 10px;
left: 0;
z-index: 15;
+ display: flex;
+ justify-content: center;
padding-left: 0; // override <ul> default
// Use the .carousel-control's width as margin so we don't overlay those
margin-right: $carousel-control-width;
li {
position: relative;
- display: inline-block;
- width: $carousel-indicator-width;
+ flex: 1 0 auto;
+ max-width: $carousel-indicator-width;
height: $carousel-indicator-height;
+ margin-right: $carousel-indicator-spacer;
+ margin-left: $carousel-indicator-spacer;
text-indent: -999px;
cursor: pointer;
background-color: rgba($carousel-indicator-active-bg, .5);
$carousel-indicator-width: 30px !default;
$carousel-indicator-height: 3px !default;
+$carousel-indicator-spacer: 3px !default;
$carousel-indicator-active-bg: #fff !default;
$carousel-caption-width: 70% !default;