fix(form-field): fix underline at different zoom levels (#7567)

This commit is contained in:
mmalerba
2017-10-09 15:49:17 -07:00
committed by Andrew Seguin
parent 147ae46c79
commit 5cffd7c0e1
+2
View File
@@ -145,6 +145,8 @@ $mat-form-field-underline-height: 1px !default;
position: absolute;
height: $mat-form-field-underline-height;
width: 100%;
// Prevents underline from disappearing at lower zoom levels.
transform: perspective(1px);
&.mat-disabled {
background-position: 0;