Skip to content

Commit

Permalink
Merge pull request #13164 from Expensify/cmartins-fixAutoFill
Browse files Browse the repository at this point in the history
Fix autofill colors

(cherry picked from commit d0ec879)
  • Loading branch information
luacmartins authored and OSBotify committed Nov 29, 2022
1 parent 34a692f commit 48c4371
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
display: none;
}

/* At the time of writing this User Agent styles for autofill inputs in Chrome are not customizable. This hack exploits the fact that
these styles are applied with a transition. Chromium team has labeled this as a WontFix so it seems there's not much else we can do here. */
/* Customizes the background and text colors for autofill inputs in Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
Expand All @@ -59,7 +58,9 @@
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-transition-delay: 99999s;
-webkit-background-clip: text;
-webkit-text-fill-color: #ffffff;
caret-color: #ffffff;
}
</style>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
Expand Down

0 comments on commit 48c4371

Please sign in to comment.