style: Fixed an issue with autofill style exceptions in dark backgrounds (#8333)

This commit is contained in:
ssongliu 2025-04-07 16:51:50 +08:00 committed by GitHub
parent afbfd6b66c
commit b41afc152a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,6 +177,9 @@ html.dark {
background-color: var(--panel-main-bg-color-1); background-color: var(--panel-main-bg-color-1);
transition: background-color 1000s ease-out 0.5s; transition: background-color 1000s ease-out 0.5s;
} }
.el-form-item .el-input__inner:-webkit-autofill {
-webkit-text-fill-color: var(--el-text-color-regular) !important;
}
.el-input.is-disabled .el-input__wrapper { .el-input.is-disabled .el-input__wrapper {
--el-disabled-bg-color: var(--panel-main-bg-color-9); --el-disabled-bg-color: var(--panel-main-bg-color-9);