1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

flexbox powered indicators

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.
This commit is contained in:
Mark Otto
2016-12-22 14:31:33 -08:00
committed by Mark Otto
parent d426c3c50e
commit 1706f494f0
2 changed files with 7 additions and 2 deletions

View File

@@ -912,6 +912,7 @@ $carousel-control-opacity: .5 !default;
$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;