Feat: Filters UI
This commit is contained in:
1 parent
b2f6850b81
commit
4c2de647e6
2 files changed
+8
-2
No files matched your search
@@ -57,6 +57,14 @@ const FilterHeader = ({ header, options, value, onChange, multiple = true }) =>
|
|||||||
horizontal: "left",
|
horizontal: "left",
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
|
sx={{
|
||||||
|
"& .MuiOutlinedInput-input": {
|
||||||
|
paddingLeft: theme.spacing(14),
|
||||||
|
},
|
||||||
|
"& .MuiSelect-icon": {
|
||||||
|
left: theme.spacing(4),
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{options.map((option) => (
|
{options.map((option) => (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
|
|||||||
@@ -477,7 +477,6 @@ const baseTheme = (palette) => ({
|
|||||||
root: ({ theme }) => ({
|
root: ({ theme }) => ({
|
||||||
"& .MuiOutlinedInput-input": {
|
"& .MuiOutlinedInput-input": {
|
||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.primary.contrastText,
|
||||||
paddingLeft: theme.spacing(14),
|
|
||||||
},
|
},
|
||||||
"& .MuiOutlinedInput-notchedOutline": {
|
"& .MuiOutlinedInput-notchedOutline": {
|
||||||
borderColor: theme.palette.primary.lowContrast,
|
borderColor: theme.palette.primary.lowContrast,
|
||||||
@@ -485,7 +484,6 @@ const baseTheme = (palette) => ({
|
|||||||
},
|
},
|
||||||
"& .MuiSelect-icon": {
|
"& .MuiSelect-icon": {
|
||||||
color: theme.palette.primary.contrastTextSecondary, // Dropdown + color
|
color: theme.palette.primary.contrastTextSecondary, // Dropdown + color
|
||||||
left: theme.spacing(4),
|
|
||||||
},
|
},
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
backgroundColor: theme.palette.primary.main, // Background on hover
|
backgroundColor: theme.palette.primary.main, // Background on hover
|
||||||
|
|||||||
Reference in new issue
Block a user