Skip to content

Commit

Permalink
fix(checkbox): Ensure consistent mixedmark rendering across browsers
Browse files Browse the repository at this point in the history
This commit ensures that the mixedmark renders the same across browsers
by truncating the height of the mixedmark to an integer value.

Fixes #174

Closes #190
  • Loading branch information
traviskaufman authored and jelbourn committed Mar 17, 2016
1 parent 64cc406 commit 666cdba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ $_md-checkbox-indeterminate-checked-easing-function: cubic-bezier(0.14, 0, 0, 1)
@extend %md-checkbox-mark;

background-color: $md-checkbox-mark-color;
height: $md-checkbox-mark-stroke-size;
height: floor($md-checkbox-mark-stroke-size);
opacity: 0;
transform: scaleX(0) rotate(0deg);
}
Expand Down

0 comments on commit 666cdba

Please sign in to comment.