Skip to content

Commit

Permalink
workaround for IE that check indicator does not appear (#25944)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and mdo committed Apr 24, 2018
1 parent 0ee779b commit 3d0d5f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scss/_custom-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 3d0d5f1

Please sign in to comment.