diff options
| author | Mark Otto <[email protected]> | 2014-04-06 20:37:34 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-04-06 20:37:34 -0700 |
| commit | 1554b7cdd77ac35e7f327b96718c9f0c73060d77 (patch) | |
| tree | c48bbf3d326667ec2d9d67a5cdff1b04902baca0 | |
| parent | 818a50e2eaa6f989dc82f8e2e8f025d0dc39a190 (diff) | |
| parent | dffbf8ff780042d211835e68dc79ed6dbc24e779 (diff) | |
| download | bootstrap-1554b7cdd77ac35e7f327b96718c9f0c73060d77.tar.xz bootstrap-1554b7cdd77ac35e7f327b96718c9f0c73060d77.zip | |
Merge pull request #13242 from killthekitten/fix-carousel-controls
Fix carousel-control margin asymmetry
| -rw-r--r-- | less/carousel.less | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/less/carousel.less b/less/carousel.less index 6f5023756..f06bc160a 100644 --- a/less/carousel.less +++ b/less/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 |
