0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Fix vertical alignment of carousel navigation arrows.

Navigation arrows were aligned to the top of page. Vertically centered them in this fix.
This commit is contained in:
al // @idest 2013-08-19 00:54:54 -07:00
parent 8b24c47788
commit eb43c26855

View File

@ -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