Skip to content

Commit

Permalink
(less) Merge pull request twbs#13242 from killthekitten/fix-carousel-…
Browse files Browse the repository at this point in the history
…controls

Fix carousel-control margin asymmetry
  • Loading branch information
mdo committed Apr 7, 2014
2 parents 2ce66b5 + 8f2eef8 commit e05c19a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions 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 e05c19a

Please sign in to comment.