From: ysds Date: Tue, 24 Apr 2018 04:52:59 +0000 (+0900) Subject: workaround for IE that check indicator does not appear (#25944) X-Git-Tag: v4.1.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d0d5f1247e1084d188ba036a4ecf68a03b08ebf;p=thirdparty%2Fbootstrap.git workaround for IE that check indicator does not appear (#25944) --- diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index c2ff758e15..a60c4a45cb 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -57,13 +57,14 @@ // Build the custom controls out of pseudo-elements. .custom-control-label { + position: relative; margin-bottom: 0; // Background-color and (when enabled) gradient &::before { position: absolute; top: (($line-height-base - $custom-control-indicator-size) / 2); - left: 0; + left: -$custom-control-gutter; display: block; width: $custom-control-indicator-size; height: $custom-control-indicator-size; @@ -78,7 +79,7 @@ &::after { position: absolute; top: (($line-height-base - $custom-control-indicator-size) / 2); - left: 0; + left: -$custom-control-gutter; display: block; width: $custom-control-indicator-size; height: $custom-control-indicator-size;