summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less6
1 files changed, 6 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 022afcea92..697bc0ee74 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -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;
}