fix(css): keep hero carousel indicators visually symmetric
Bootstrap-3's default makes the active indicator 12x12 with margin 0 while inactive is 10x10 with margin 1px. With two slides the size and margin swap shifts dot positions on every slide change, which reads as the gap between dots changing. Force all dots to the inactive geometry so only the fill toggles.
This commit is contained in:
@@ -1926,3 +1926,17 @@ ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ptb-text {
|
||||||
|
padding-bottom : 50px;
|
||||||
|
padding-top : 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* ---------------------------------------------------------------
|
||||||
|
Stage tweak: keep hero carousel indicator dots symmetric.
|
||||||
|
Bootstrap-3's default `.carousel-indicators .active { width:12px;
|
||||||
|
height:12px; margin:0 }` makes the active dot bigger and zero-margin
|
||||||
|
while inactive stays at 10px with 1px margin. With only two slides
|
||||||
|
the size + margin swap shifts the dots visibly on each slide change.
|
||||||
|
|||||||
Reference in New Issue
Block a user