Skip to content

Commit 6c7c367

Browse files
committed
Proper fix for the chrome autofill.
1 parent 228de22 commit 6c7c367

File tree

1 file changed

+5
-2
lines changed
  • gwt-material/src/main/resources/gwt/material/design/public/css

1 file changed

+5
-2
lines changed

gwt-material/src/main/resources/gwt/material/design/public/css/overridecss.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,9 +926,12 @@ nav .input-field {
926926
z-index: 995 !important;
927927
}
928928

929-
/** Fixed the autofill bg color on chrome **/
929+
@-webkit-keyframes autofill {
930+
to { background: transparent; }
931+
}
930932
input:-webkit-autofill {
931-
transition: background-color 5000s ease-in-out 0s !important;
933+
-webkit-animation-name: autofill !important;
934+
-webkit-animation-fill-mode: both !important;;
932935
}
933936

934937
/** Fixed breadcrumb **/

0 commit comments

Comments
 (0)