From 666cdba3bb7c909763c4f05e9d89b7bf350b8afb Mon Sep 17 00:00:00 2001 From: Travis Kaufman Date: Thu, 17 Mar 2016 12:09:43 -0400 Subject: [PATCH] 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 --- src/components/checkbox/checkbox.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/checkbox/checkbox.scss b/src/components/checkbox/checkbox.scss index 485cd38a190..37e40353b41 100644 --- a/src/components/checkbox/checkbox.scss +++ b/src/components/checkbox/checkbox.scss @@ -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); }