mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-03 10:23:05 +02:00
drop the fixed width of the indicators. instead use the carousel-control width as margins to ensure content doesn't overlap
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user