2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03: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
+1
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;