0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

style(experience): remove autofill style from input component (#6261)

This commit is contained in:
Xiao Yijun 2024-07-18 11:04:12 +08:00 committed by GitHub
parent f8f14c0ba7
commit 4bd9a4a1af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,18 @@
transition: opacity 0.2s ease-out;
opacity: 0%;
}
&:-webkit-autofill,
&:-webkit-autofill:hover,
&:-webkit-autofill:focus {
-webkit-text-fill-color: var(--color-type-primary);
/*
* Create an extremely long (about 11.57 days) transition for background-color
* This is a "hack" to prevent the browser from applying its default autofill background color
*/
transition: background-color 999999s ease-in-out 0s;
background-color: transparent;
}
}
.suffix {