fix(frontend): override browser default background color on autofilled login inputs (#4478)

This commit is contained in:
Cheng Ho Ming, Eric 2026-05-21 22:24:54 +08:00 committed by GitHub
parent 7fc7c14ac1
commit 6e2816d035
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -469,6 +469,13 @@ function cycleTheme() {
font-weight: 500; font-weight: 500;
} }
.login-form :deep(input.ant-input:-webkit-autofill) {
-webkit-text-fill-color: var(--color-text) !important;
-webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
transition: background-color 9999s ease-in-out 0s, color 9999s ease-in-out 0s;
}
.submit-row { .submit-row {
margin-bottom: 0; margin-bottom: 0;
} }