Commit 3d0d5f12 authored by ysds's avatar ysds Committed by Mark Otto
Browse files

workaround for IE that check indicator does not appear (#25944)

parent 0ee779b6
Showing with 3 additions and 2 deletions
+3 -2
...@@ -57,13 +57,14 @@ ...@@ -57,13 +57,14 @@
// Build the custom controls out of pseudo-elements. // Build the custom controls out of pseudo-elements.
.custom-control-label { .custom-control-label {
position: relative;
margin-bottom: 0; margin-bottom: 0;
// Background-color and (when enabled) gradient // Background-color and (when enabled) gradient
&::before { &::before {
position: absolute; position: absolute;
top: (($line-height-base - $custom-control-indicator-size) / 2); top: (($line-height-base - $custom-control-indicator-size) / 2);
left: 0; left: -$custom-control-gutter;
display: block; display: block;
width: $custom-control-indicator-size; width: $custom-control-indicator-size;
height: $custom-control-indicator-size; height: $custom-control-indicator-size;
...@@ -78,7 +79,7 @@ ...@@ -78,7 +79,7 @@
&::after { &::after {
position: absolute; position: absolute;
top: (($line-height-base - $custom-control-indicator-size) / 2); top: (($line-height-base - $custom-control-indicator-size) / 2);
left: 0; left: -$custom-control-gutter;
display: block; display: block;
width: $custom-control-indicator-size; width: $custom-control-indicator-size;
height: $custom-control-indicator-size; height: $custom-control-indicator-size;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment