mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-31 10:14:15 +00:00
fix(frontend): override browser default background color on autofilled login inputs (#4478)
This commit is contained in:
parent
7fc7c14ac1
commit
6e2816d035
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue