Fix position of browser default validation message (#28852)

This commit is contained in:
Shohei Yoshida 2019-06-18 01:08:06 +09:00 committed by XhmikosR
parent 1bdeab8159
commit b165aff2f7

View File

@ -21,7 +21,10 @@
.custom-control-input {
position: absolute;
left: 0;
z-index: -1; // Put the input behind the label so it doesn't overlay text
width: $custom-control-indicator-size;
height: ($font-size-base * $line-height-base + $custom-control-indicator-size) / 2;
opacity: 0;
&:checked ~ .custom-control-label::before {