mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 22:41:20 +02:00
Fix position of browser default validation message (#28852)
This commit is contained in:
@@ -21,7 +21,10 @@
|
|||||||
|
|
||||||
.custom-control-input {
|
.custom-control-input {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
z-index: -1; // Put the input behind the label so it doesn't overlay text
|
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;
|
opacity: 0;
|
||||||
|
|
||||||
&:checked ~ .custom-control-label::before {
|
&:checked ~ .custom-control-label::before {
|
||||||
|
Reference in New Issue
Block a user