diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 86edabaa16..1f1b5da4e3 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -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 {