diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-08-26 09:42:44 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-08-26 09:42:44 +0300 |
commit | 2ad135ebb4d6bd16d60c9ce11e0e183948db6205 (patch) | |
tree | ba6bc5aec474d0c0ad1d0a14ae8d54fcfa492226 | |
parent | 19ee63ad25491aeafc9df9006ef370edf08cffbf (diff) |
Update z-indices (#29292)
- `.carousel-caption` doesn't need a z-index. There are no non-static element in its containing block (`.carousel-item`)
- The `z-index` of `.carousel-indicators` is way higher than it needs to be (`15`), the highest sibling `z-index` is `1`, so it can be set to `2` to be the top layer.
-rw-r--r-- | scss/_carousel.scss | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scss/_carousel.scss b/scss/_carousel.scss index df9408a757..0e79f179b6 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -148,7 +148,7 @@ right: 0; bottom: 0; left: 0; - z-index: 15; + z-index: 2; display: flex; justify-content: center; padding-left: 0; // override <ol> default @@ -190,7 +190,6 @@ right: (100% - $carousel-caption-width) / 2; bottom: 20px; left: (100% - $carousel-caption-width) / 2; - z-index: 10; padding-top: 20px; padding-bottom: 20px; color: $carousel-caption-color; |