reset search button

This commit is contained in:
2019-10-09 11:49:46 +02:00
parent fd8cb20f52
commit ebe9f62a8f
+3 -2
View File
@@ -24,12 +24,12 @@ const styles = theme => ({
fontWeight: '300', fontWeight: '300',
color: theme.palette.primary.dark, color: theme.palette.primary.dark,
backgroundColor: theme.palette.background.grey, backgroundColor: theme.palette.background.grey,
minWidth: '65vw', minWidth: '75vw',
padding: 0, padding: 0,
margin: 0, margin: 0,
paddingLeft: theme.spacing(2), paddingLeft: theme.spacing(2),
[theme.breakpoints.up('md')]: { [theme.breakpoints.up('md')]: {
minWidth: '42vw', minWidth: '85vw',
}, },
} }
}, },
@@ -256,6 +256,7 @@ class Grid extends Component {
this.searchSubmit() this.searchSubmit()
} }
}} }}
type="search"
/> />
<Button onClick={this.searchSubmit} <Button onClick={this.searchSubmit}
disabled={loading} disabled={loading}