aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-24 20:16:25 +0100
committerSascha <GlancingMind@outlook.com>2021-04-07 13:08:26 +0200
commitd2845605c2152738e37d13b7067fedac91ccf225 (patch)
treee17f774eaa49dfe76e484ac4df2b6be41a098362 /webui/src
parent72fc0ef73e6c8063075a77bcf37fc8bd7e4c8baf (diff)
downloadgit-bug-d2845605c2152738e37d13b7067fedac91ccf225.tar.gz
Fix readability of filter input field in dark mode
Diffstat (limited to 'webui/src')
-rw-r--r--webui/src/pages/list/Filter.tsx11
1 files changed, 9 insertions, 2 deletions
diff --git a/webui/src/pages/list/Filter.tsx b/webui/src/pages/list/Filter.tsx
index 782c2041..42375dea 100644
--- a/webui/src/pages/list/Filter.tsx
+++ b/webui/src/pages/list/Filter.tsx
@@ -10,14 +10,21 @@ import TextField from '@material-ui/core/TextField';
import { makeStyles, withStyles } from '@material-ui/core/styles';
import ArrowDropDown from '@material-ui/icons/ArrowDropDown';
-const CustomTextField = withStyles({
+const CustomTextField = withStyles((theme) => ({
root: {
margin: '0 8px 12px 8px',
'& label.Mui-focused': {
margin: '0 2px',
+ color: theme.palette.text.secondary,
+ },
+ '& .MuiInput-underline::before': {
+ borderBottomColor: theme.palette.divider,
+ },
+ '& .MuiInput-underline::after': {
+ borderBottomColor: theme.palette.divider,
},
},
-})(TextField);
+}))(TextField);
const ITEM_HEIGHT = 48;