From eb43c2685565cedec38f60b4812fd4431cbd2df1 Mon Sep 17 00:00:00 2001 From: "al // @idest" Date: Mon, 19 Aug 2013 00:54:54 -0700 Subject: [PATCH] Fix vertical alignment of carousel navigation arrows. Navigation arrows were aligned to the top of page. Vertically centered them in this fix. --- examples/carousel/carousel.css | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.2