diff options
author | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-11-05 23:03:23 +0900 |
---|---|---|
committer | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-11-05 23:03:23 +0900 |
commit | 7ab5a2fdaf853b415e980100c8601520b1acdc6f (patch) | |
tree | cb20a9e4112a4b3b08e05d5b206baebcfcf879de | |
parent | 73d6b9d63b20682df039db67e5cbdf42849a4195 (diff) |
Move keywoard search field up
Bit better with mobile but not ideal still
-rw-r--r-- | src/App.js | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -294,6 +294,16 @@ function ItemSearch(props) { </Paper> <Collapse in={menuOpen} timeout="auto" unmountOnExit> <Paper elevation={1} square style={{padding: 4, paddingLeft: 18, paddingRight: 18}}> + <Typography>{t('Keywords')}</Typography> + <Divider variant="middle"/> + <Autocomplete + multiple + id='keywords' + options={keywords} + getOptionLabel={(option) => option} + defaultValue={[]} + renderInput={(params) => <TextField {...params} variant="outlined"/>} + /> <Typography>{t('Category')}</Typography> <Divider variant="middle"/> <FormGroup row style={{marginLeft: 18}}> @@ -308,16 +318,6 @@ function ItemSearch(props) { <FormControlLabel control={<Checkbox checked={cat.value} name={cat.key}/>} label={t(cat.key)}/>)} </FormGroup> - <Typography>{t('Keywords')}</Typography> - <Divider variant="middle"/> - <Autocomplete - multiple - id='keywords' - options={keywords} - getOptionLabel={(option) => option} - defaultValue={[]} - renderInput={(params) => <TextField {...params} variant="outlined"/>} - /> </Paper> </Collapse> </> |