mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(form-field): fix underline at different zoom levels (#7567)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user