Ajust the search and description from /ambs and /merchants

This commit is contained in:
Letícia Camara 2018-11-07 12:49:14 -02:00
parent 8a8e2ee6a2
commit 3c78f7ee77

View file

@ -49,20 +49,28 @@ class EnhancedSearch extends Component {
<div className="search-books"> <div className="search-books">
<div className="search-books-bar"> <div className="search-books-bar">
<div className="search-books-input-wrapper" style={{ textAlign: 'left', marginLeft: 20}}> <div className="search-books-input-wrapper" style={{ textAlign: 'left', marginLeft: 20}}>
<TextField <table>
style={{ textAlign: 'left', width: 350,borderColor: "#139657" }} <tbody>
id="outlined-adornment-weight" <tr>
className={classNames(classes.margin, classes.textField)} <td>
variant="outlined" <TextField
label="Search" style={{ textAlign: 'left', width: 350,borderColor: "#139657" }}
placeholder="Enter search term" id="outlined-adornment-weight"
value={query} className={classNames(classes.margin, classes.textField)}
onChange={(event) => onUpdateQuery(event.target.value)} variant="outlined"
InputProps={{ label="Search"
startAdornment: <InputAdornment position="start"><Search /></InputAdornment>, placeholder="Enter search term"
}} value={query}
/> onChange={(event) => onUpdateQuery(event.target.value)}
{textComponent} InputProps={{
startAdornment: <InputAdornment position="start"><Search /></InputAdornment>,
}}
/>
</td>
<td>{textComponent}</td>
</tr>
</tbody>
</table>
<br /> <br />
{this.props.showSearchColumns && this.props.columns.map(column => ( {this.props.showSearchColumns && this.props.columns.map(column => (
<FormControlLabel <FormControlLabel