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

This commit is contained in:
Cheng Ho Ming, Eric 2026-05-20 21:13:27 +08:00
parent 9f80cfedab
commit 607e1c75b8
No known key found for this signature in database
GPG key ID: 647A51F092B13B92

View file

@ -469,6 +469,13 @@ function cycleTheme() {
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 {
margin-bottom: 0;
}