Fixed Dark theme UI related issues. Fixes #6846

This commit is contained in:
Aditya Toshniwal
2021-10-04 12:41:48 +05:30
committed by Akshay Joshi
parent 65af8bcc5a
commit 038fd6ce21
5 changed files with 25 additions and 4 deletions

View File

@@ -589,6 +589,7 @@ const customReactSelectStyles = (theme, readonly)=>({
...provided,
minHeight: '0',
backgroundColor: readonly ? theme.otherVars.inputDisabledBg : theme.palette.background.default,
color: readonly ? theme.palette.text.muted : theme.palette.text.primary,
borderColor: theme.otherVars.inputBorderColor,
...(state.isFocused ? {
borderColor: theme.palette.primary.main,