mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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
This commit is contained in:
committed by
Jeremy Elbourn
parent
64cc40602a
commit
666cdba3bb
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user