mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 12:21:35 +02:00
v4: Add z-index to .custom-check to fix custom checks in CSS columns (#30810)
For some reason, custom checks in CSS columns need a new stacking order to maintain visibility. This PR adds `z-index: 1` to trigger that new stacking order. Since v5's forms are being redone entirely, and we're dropping IE10/11 there, I think this is totally fine to ship with v4 only. Will need to check v5's forms it in Edge though. Fixes #29607. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
.custom-control {
|
.custom-control {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
display: block;
|
display: block;
|
||||||
min-height: $font-size-base * $line-height-base;
|
min-height: $font-size-base * $line-height-base;
|
||||||
padding-left: $custom-control-gutter + $custom-control-indicator-size;
|
padding-left: $custom-control-gutter + $custom-control-indicator-size;
|
||||||
|
Reference in New Issue
Block a user