From 9fb5db84d38ec3cc1ec16b3039f3fabaa238f325 Mon Sep 17 00:00:00 2001 From: Jason Nutter Date: Wed, 21 Aug 2013 15:51:24 -0700 Subject: [PATCH] (less) Fixing carousel control positioning 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). --- carousel.less | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/carousel.less b/carousel.less index c468d435cd30..c5bdf17caf98 100644 --- a/carousel.less +++ b/carousel.less @@ -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;