Skip to content

Commit

Permalink
(less) Fixing carousel control positioning
Browse files Browse the repository at this point in the history
The left control should be positioned from the left, while the right
control should be positioning from the right. Positioning both from the
left results in the right carousel control being incorrectly positioned
(most noticeable with a larger than normal font size).
  • Loading branch information
nuttertag committed Aug 21, 2013
1 parent 71945a5 commit 9fb5db8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,18 @@
.glyphicon-chevron-right {
position: absolute;
top: 50%;
left: 50%;
z-index: 5;
display: inline-block;
}
.icon-prev,
.glyphicon-chevron-left {
left: 50%;
}
.icon-next,
.glyphicon-chevron-right {
right: 50%;
}
.icon-prev,
.icon-next {
width: 20px;
height: 20px;
Expand Down

0 comments on commit 9fb5db8

Please sign in to comment.