Skip to content

Commit

Permalink
↪️ move [type=range]::-ms-thumb box-sizing to sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfahan committed Sep 4, 2019
1 parent 11afd85 commit 996a8c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/_range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
}

&::-ms-thumb {
box-sizing: border-box; // override Edge and IE content box-sizing
@include range-thumb;
margin-top: 0; // Remove Edge negative Margin-top on thumb
}
Expand Down
4 changes: 4 additions & 0 deletions src/generics/_sanitize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ button,
@extend %borderstyle-none;
}

::-ms-thumb {
box-sizing: inherit; // Add the correct box sizing in IE and EDGE Range input
}

input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box; // Add the correct box sizing in IE 10-
Expand Down

0 comments on commit 996a8c8

Please sign in to comment.