Skip to content

Commit 666cdba

Browse files
traviskaufmanjelbourn
authored andcommitted
fix(checkbox): Ensure consistent mixedmark rendering across browsers
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
1 parent 64cc406 commit 666cdba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/checkbox/checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ $_md-checkbox-indeterminate-checked-easing-function: cubic-bezier(0.14, 0, 0, 1)
298298
@extend %md-checkbox-mark;
299299

300300
background-color: $md-checkbox-mark-color;
301-
height: $md-checkbox-mark-stroke-size;
301+
height: floor($md-checkbox-mark-stroke-size);
302302
opacity: 0;
303303
transform: scaleX(0) rotate(0deg);
304304
}

0 commit comments

Comments
 (0)