Fix autofilled text visibility in dark mode (#22088)

Fixes #22087
This commit is contained in:
Chongyi Zheng 2022-12-13 06:06:23 -05:00 committed by GitHub
parent 87c64f655a
commit a95247b7df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1354,6 +1354,12 @@ a.ui.card:hover,
border-color: var(--color-error-border) !important;
}
// A fix for text visibility issue in Chrome autofill in dark mode.
// It's a problem from Formatic UI, and this rule overrides it.
.ui.form .field.field input:-webkit-autofill {
-webkit-text-fill-color: var(--color-black) !important;
}
.ui.loading.loading.input > i.icon svg {
visibility: hidden;
}