mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): fix chrome autofill style (#3366)
This commit is contained in:
@@ -94,7 +94,7 @@ $mat-input-underline-disabled-background-image:
|
||||
// Once the autofill is committed, a change event happen and the regular md-input-container
|
||||
// classes take over to fulfill this behaviour.
|
||||
// Assumes the autofill is non-empty.
|
||||
&:-webkit-autofill + .mat-input-placeholder.mat-float {
|
||||
&:-webkit-autofill + .mat-input-placeholder-wrapper .mat-float {
|
||||
@include mat-input-placeholder-floating;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user