Commit 89f5e65c authored by Mark Otto's avatar Mark Otto
Browse files

drop the fixed width of the indicators. instead use the carousel-control width...

drop the fixed width of the indicators. instead use the carousel-control width as margins to ensure content doesn't overlap
parent 1980854c
12 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26437merge,!22391V4 dev,!22547Finished a new translation for bootstrap,!22143Fix selectable disabled toggle radio buttons,!22598test,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!21298Refactor carousel,!17021v4
Showing with 6 additions and 6 deletions
+6 -6
......@@ -116,12 +116,14 @@
.carousel-indicators {
position: absolute;
right: 0;
bottom: 10px;
left: 50%;
left: 0;
z-index: 15;
width: $carousel-indicators-width;
padding-left: 0;
margin-left: -($carousel-indicators-width / 2);
// Use the .carousel-control's width as margin so we don't overlay those
margin-right: $carousel-control-width;
margin-left: $carousel-control-width;
padding-left: 0; // override <ul> default
text-align: center;
list-style: none;
......
......@@ -886,8 +886,6 @@ $carousel-control-color: #fff !default;
$carousel-control-width: 15% !default;
$carousel-control-opacity: .5 !default;
$carousel-indicators-width: 60% !default;
$carousel-indicator-width: 30px !default;
$carousel-indicator-height: 3px !default;
$carousel-indicator-active-bg: #fff !default;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment