From f40b1b29f5a84cfe2c23d52b3ca04b16ad037eb0 Mon Sep 17 00:00:00 2001 From: mmalerba Date: Wed, 1 Mar 2017 16:44:22 -0800 Subject: [PATCH] fix(input): fix chrome autofill style (#3366) --- src/lib/input/input-container.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/input/input-container.scss b/src/lib/input/input-container.scss index ee47af07997..4f8fc4f1765 100644 --- a/src/lib/input/input-container.scss +++ b/src/lib/input/input-container.scss @@ -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; }