aboutsummaryrefslogtreecommitdiff
path: root/examples/carousel
diff options
context:
space:
mode:
authoral // @idest <[email protected]>2013-08-19 00:54:54 -0700
committeral // @idest <[email protected]>2013-08-19 00:54:54 -0700
commiteb43c2685565cedec38f60b4812fd4431cbd2df1 (patch)
tree6b95ba925a94d7404a3724dc840e4098e13235d2 /examples/carousel
parent8b24c47788d71565047125470a5cb7acf1f5f591 (diff)
downloadbootstrap-eb43c2685565cedec38f60b4812fd4431cbd2df1.tar.xz
bootstrap-eb43c2685565cedec38f60b4812fd4431cbd2df1.zip
Fix vertical alignment of carousel navigation arrows.
Navigation arrows were aligned to the top of page. Vertically centered them in this fix.
Diffstat (limited to 'examples/carousel')
-rw-r--r--examples/carousel/carousel.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/carousel/carousel.css b/examples/carousel/carousel.css
index cdcbe2f78..1ac82e089 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