Skip to content

Commit

Permalink
Fix autofilled text visibility in dark mode (#22088)
Browse files Browse the repository at this point in the history
Fixes #22087
  • Loading branch information
harryzcy authored Dec 13, 2022
1 parent 87c64f6 commit a95247b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a95247b

Please sign in to comment.