From 6bb11bd682ef3102cda8bd685a300674f23bc2ff Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Wed, 1 Mar 2017 13:50:31 -0800 Subject: [PATCH] fix(input): fix chrome autofill style --- 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 8a1ed26cda61..2a358e472b0d 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; }