Ajust the search and description from /ambs and /merchants

mx
Letícia Camara 2018-11-07 12:49:14 -02:00
parent 8a8e2ee6a2
commit 3c78f7ee77
1 changed files with 22 additions and 14 deletions

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