diff options
| author | al // @idest <[email protected]> | 2013-08-19 00:54:54 -0700 |
|---|---|---|
| committer | al // @idest <[email protected]> | 2013-08-19 00:54:54 -0700 |
| commit | eb43c2685565cedec38f60b4812fd4431cbd2df1 (patch) | |
| tree | 6b95ba925a94d7404a3724dc840e4098e13235d2 | |
| parent | 8b24c47788d71565047125470a5cb7acf1f5f591 (diff) | |
| download | bootstrap-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.
| -rw-r--r-- | examples/carousel/carousel.css | 6 |
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 |
