aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorysds <[email protected]>2018-04-24 13:52:59 +0900
committerMark Otto <[email protected]>2018-04-23 21:52:59 -0700
commit3d0d5f1247e1084d188ba036a4ecf68a03b08ebf (patch)
tree394683f73e196194a9e35f1d0dc0f8a1d8fa47da
parent0ee779b6fcac4d1e3d8cae782f3f00e09f0a921c (diff)
downloadbootstrap-3d0d5f1247e1084d188ba036a4ecf68a03b08ebf.tar.xz
bootstrap-3d0d5f1247e1084d188ba036a4ecf68a03b08ebf.zip
workaround for IE that check indicator does not appear (#25944)
-rw-r--r--scss/_custom-forms.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index c2ff758e1..a60c4a45c 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;