1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 23:59:53 +02:00

Manual backport of #32627 (#33165)

Carousel: use buttons, not links, for prev/next controls
This commit is contained in:
Patrick H. Lauke
2021-03-11 07:23:46 +00:00
committed by GitHub
parent 7365592fbe
commit e16b06929a
5 changed files with 38 additions and 35 deletions

View File

@@ -95,8 +95,11 @@
align-items: center; // 2. vertically center contents
justify-content: center; // 3. horizontally center contents
width: $carousel-control-width;
padding: 0;
color: $carousel-control-color;
text-align: center;
background: none;
border: 0;
opacity: $carousel-control-opacity;
@include transition($carousel-control-transition);