From a40568a1e01b864c8ef813a672abd790bf902a83 Mon Sep 17 00:00:00 2001 From: Jason Nutter Date: Wed, 21 Aug 2013 15:51:24 -0700 Subject: 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). --- dist/css/bootstrap.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 3d7e7e007..04c58c730 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -6106,11 +6106,20 @@ body.modal-open, .carousel-control .glyphicon-chevron-right { position: absolute; top: 50%; - left: 50%; z-index: 5; display: inline-block; } +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + .carousel-control .icon-prev, .carousel-control .icon-next { width: 20px; -- cgit v1.2.3