Skip to content

Commit f40b1b2

Browse files
mmalerbakara
authored andcommitted
fix(input): fix chrome autofill style (#3366)
1 parent 1491291 commit f40b1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/input/input-container.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $mat-input-underline-disabled-background-image:
9494
// Once the autofill is committed, a change event happen and the regular md-input-container
9595
// classes take over to fulfill this behaviour.
9696
// Assumes the autofill is non-empty.
97-
&:-webkit-autofill + .mat-input-placeholder.mat-float {
97+
&:-webkit-autofill + .mat-input-placeholder-wrapper .mat-float {
9898
@include mat-input-placeholder-floating;
9999
}
100100

0 commit comments

Comments
 (0)