Skip to content

Commit

Permalink
(less) Fix carousel control margin asymmetry
Browse files Browse the repository at this point in the history
  • Loading branch information
killthekitten committed Mar 31, 2014
1 parent ecf88ef commit 8f2eef8
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 8f2eef8

Please sign in to comment.