remove search bar and padding from search page
This commit is contained in:
parent
50e7010a5b
commit
0ca5941dee
1 changed files with 1 additions and 9 deletions
|
@ -37,16 +37,8 @@ class SearchPage extends React.PureComponent<Props> {
|
||||||
render() {
|
render() {
|
||||||
const { query, updateSearchQuery } = this.props;
|
const { query, updateSearchQuery } = this.props;
|
||||||
return (
|
return (
|
||||||
<Page noPadding>
|
<Page>
|
||||||
<div className="search__wrapper">
|
<div className="search__wrapper">
|
||||||
<input
|
|
||||||
ref={input => (this.input = input)}
|
|
||||||
className="search__input"
|
|
||||||
value={query}
|
|
||||||
placeholder={__('Search for anything...')}
|
|
||||||
onChange={event => updateSearchQuery(event.target.value)}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{isURIValid(query) && (
|
{isURIValid(query) && (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<div className="file-list__header">
|
<div className="file-list__header">
|
||||||
|
|
Loading…
Reference in a new issue