mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 00:36:39 +00:00
Set FilterBar background color to #fff
This commit is contained in:
parent
1ad15ed05c
commit
cef6fcb543
2 changed files with 13 additions and 7 deletions
|
|
@ -51,4 +51,5 @@
|
||||||
- [ ] use dtoRequest for PutProjects
|
- [ ] use dtoRequest for PutProjects
|
||||||
- [ ] render avatarlist after UserModal Update
|
- [ ] render avatarlist after UserModal Update
|
||||||
- [x] Form validators
|
- [x] Form validators
|
||||||
- [ ] Azure
|
- [x] Azure
|
||||||
|
- [ ] Refactor TabPanels code
|
||||||
|
|
|
||||||
|
|
@ -16,22 +16,25 @@ const useStyles = makeStyles((theme: Theme) =>
|
||||||
root: {
|
root: {
|
||||||
"& > *": {
|
"& > *": {
|
||||||
margin: theme.spacing(1),
|
margin: theme.spacing(1),
|
||||||
width: "25ch"
|
width: "25ch",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
margin: {
|
margin: {
|
||||||
margin: theme.spacing(1)
|
margin: theme.spacing(1),
|
||||||
}
|
},
|
||||||
|
filter: {
|
||||||
|
backgroundColor: "#fff",
|
||||||
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
export const FilterBar: FC<IProps> = ({
|
export const FilterBar: FC<IProps> = ({
|
||||||
filterText,
|
filterText,
|
||||||
handleChange
|
handleChange,
|
||||||
// clearFilterText
|
// clearFilterText
|
||||||
}) => {
|
}) => {
|
||||||
const { url } = useRouteMatch();
|
const { url } = useRouteMatch();
|
||||||
const placeholder: string = url.split("/")[3] || "users";
|
const placeholder: string = url.split("/")[3] || "elements";
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
return (
|
return (
|
||||||
<div className={classes.margin}>
|
<div className={classes.margin}>
|
||||||
|
|
@ -44,6 +47,8 @@ export const FilterBar: FC<IProps> = ({
|
||||||
size="small"
|
size="small"
|
||||||
value={filterText}
|
value={filterText}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
|
color="primary"
|
||||||
|
className={classes.filter}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue