Skip to content

Commit

Permalink
fix(form-field): fix underline at different zoom levels (#7567)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored and andrewseguin committed Oct 9, 2017
1 parent 147ae46 commit 5cffd7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5cffd7c

Please sign in to comment.