From: Mark Otto Date: Thu, 22 Dec 2016 22:31:33 +0000 (-0800) Subject: flexbox powered indicators X-Git-Tag: v4.0.0-alpha.6~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1706f494f06a3981097b42f42854a870a51af864;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/scss/_carousel.scss b/scss/_carousel.scss index 01ad613e0f..18286b539f 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -121,6 +121,8 @@ bottom: 10px; left: 0; z-index: 15; + display: flex; + justify-content: center; padding-left: 0; // override