Skip to content

Commit

Permalink
WebUI: work around a Chromium issue that causes it to use incorrect c…
Browse files Browse the repository at this point in the history
…olors in form inputs with some Windows themes
  • Loading branch information
ivan committed May 29, 2024
1 parent 317a342 commit 5a18f3a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/webui/www/private/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -647,3 +647,11 @@ td.statusBarSeparator {
background-color: #ee6600;
color: #fff;
}

/**
* Workaround for https://bugs.chromium.org/p/chromium/issues/detail?id=1343169
* 'Bad colors for inputs, buttons, textareas and selects when using a high-contrast Windows theme'
*/
input, select, button, datalist, option, textarea {
color: #000;
}

0 comments on commit 5a18f3a

Please sign in to comment.