Skip to content

Commit a95247b

Browse files
authored
Fix autofilled text visibility in dark mode (#22088)
Fixes #22087
1 parent 87c64f6 commit a95247b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: web_src/less/_base.less

+6
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,12 @@ a.ui.card:hover,
13541354
border-color: var(--color-error-border) !important;
13551355
}
13561356

1357+
// A fix for text visibility issue in Chrome autofill in dark mode.
1358+
// It's a problem from Formatic UI, and this rule overrides it.
1359+
.ui.form .field.field input:-webkit-autofill {
1360+
-webkit-text-fill-color: var(--color-black) !important;
1361+
}
1362+
13571363
.ui.loading.loading.input > i.icon svg {
13581364
visibility: hidden;
13591365
}

0 commit comments

Comments
 (0)