Skip to content

Commit 7a91993

Browse files
committed
Fix selects and menu
1 parent cad1a13 commit 7a91993

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

src/pages/dashboard/Dashboard.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ const Dashboard = ({ classes, theme, ...props }) => {
336336
input={
337337
<OutlinedInput
338338
labelWidth={0}
339-
classes={{ input: classes.mainChartSelect }}
339+
classes={{ notchedOutline: classes.mainChartSelectRoot, input: classes.mainChartSelect }}
340340
/>
341341
}
342342
autoWidth
@@ -503,6 +503,9 @@ const styles = theme => ({
503503
alignItems: "center",
504504
marginLeft: theme.spacing.unit * 2
505505
},
506+
mainChartSelectRoot: {
507+
borderColor: theme.palette.text.hint + '80 !important',
508+
},
506509
mainChartSelect: {
507510
padding: 10,
508511
paddingRight: 25

src/themes/default.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,24 @@ export default {
8787
"0px 3px 11px 0px #E8EAFC, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A"
8888
}
8989
},
90+
MuiSelect: {
91+
icon: {
92+
color: "#B9B9B9",
93+
}
94+
},
95+
MuiListItem: {
96+
button: {
97+
'&:hover, &:focus': {
98+
backgroundColor: '#F3F5FF',
99+
},
100+
},
101+
selected: {
102+
backgroundColor: '#F3F5FF !important',
103+
'&:focus': {
104+
backgroundColor: '#F3F5FF',
105+
},
106+
}
107+
},
90108
MuiTouchRipple: {
91109
child: {
92110
backgroundColor: "white"

0 commit comments

Comments
 (0)