From 8f2eef80cca0ef12c3c56962391d686d5fa80bd7 Mon Sep 17 00:00:00 2001 From: Nikolay Shebanov Date: Mon, 31 Mar 2014 12:37:55 +0400 Subject: [PATCH] (less) Fix carousel control margin asymmetry --- carousel.less | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/carousel.less b/carousel.less index 6f5023756d5e..f06bc160af54 100644 --- a/carousel.less +++ b/carousel.less @@ -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) @@ -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