Skip to content

Commit

Permalink
Merge pull request #13242 from killthekitten/fix-carousel-controls
Browse files Browse the repository at this point in the history
Fix carousel-control margin asymmetry
  • Loading branch information
mdo committed Apr 7, 2014
2 parents 818a50e + dffbf8f commit 1554b7c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions less/carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,22 @@
.icon-prev,
.glyphicon-chevron-left {
left: 50%;
margin-left: -10px;
}
.icon-next,
.glyphicon-chevron-right {
right: 50%;
margin-right: -10px;
}
.icon-prev,
.icon-next {
width: 20px;
height: 20px;
margin-top: -10px;
margin-left: -10px;
font-family: serif;
}


.icon-prev {
&:before {
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
Expand Down Expand Up @@ -213,9 +215,16 @@
width: 30px;
height: 30px;
margin-top: -15px;
margin-left: -15px;
font-size: 30px;
}
.glyphicon-chevron-left,
.icon-prev {
margin-left: -15px;
}
.glyphicon-chevron-right,
.icon-next {
margin-right: -15px;
}
}

// Show and left align the captions
Expand Down

0 comments on commit 1554b7c

Please sign in to comment.