From: al // @idest Date: Mon, 19 Aug 2013 07:54:54 +0000 (-0700) Subject: Fix vertical alignment of carousel navigation arrows. X-Git-Tag: v3.0.0~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb43c2685565cedec38f60b4812fd4431cbd2df1;p=thirdparty%2Fbootstrap.git Fix vertical alignment of carousel navigation arrows. Navigation arrows were aligned to the top of page. Vertically centered them in this fix. --- diff --git a/examples/carousel/carousel.css b/examples/carousel/carousel.css index cdcbe2f785..1ac82e089c 100644 --- a/examples/carousel/carousel.css +++ b/examples/carousel/carousel.css @@ -18,6 +18,12 @@ body { z-index: 15; } +/* Vertically aligns left and right chevrons. */ +.carousel-control > .glyphicon-chevron-left, .carousel-control > .glyphicon-chevron-right { + position: absolute; + display: inline-block; + top: 50%; +} /* CUSTOMIZE THE CAROUSEL