Skip to content

Commit

Permalink
v4: Add z-index to .custom-check to fix custom checks in CSS columns (#…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
mdo and XhmikosR committed Jun 4, 2020
1 parent 4e685e7 commit f4a7888
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scss/_custom-forms.scss
Expand Up @@ -9,6 +9,7 @@

.custom-control {
position: relative;
z-index: 1;
display: block;
min-height: $font-size-base * $line-height-base;
padding-left: $custom-control-gutter + $custom-control-indicator-size;
Expand Down

0 comments on commit f4a7888

Please sign in to comment.