diff --git a/frontend/src/components/search/search.js b/frontend/src/components/search/search.js index fa6e80b014..8ed4b88da5 100644 --- a/frontend/src/components/search/search.js +++ b/frontend/src/components/search/search.js @@ -222,6 +222,10 @@ class Search extends Component { }); } + onSearchPage = () => { + window.location.href = siteRoot + 'search/' + } + render() { let width = this.state.width !== 'default' ? this.state.width : ''; let style = {'width': width}; @@ -244,6 +248,10 @@ class Search extends Component { onChange={this.onChangeHandler} autoComplete="off" /> + {this.state.isCloseShow && + + } {this.state.isCloseShow && }
@@ -273,6 +281,10 @@ class Search extends Component { onChange={this.onChangeHandler} autoComplete="off" /> + {this.state.isCloseShow && + + } {this.state.isCloseShow && }
diff --git a/frontend/src/css/search.css b/frontend/src/css/search.css index c99ef943c9..6ed899ffa5 100644 --- a/frontend/src/css/search.css +++ b/frontend/src/css/search.css @@ -22,6 +22,12 @@ cursor: pointer; pointer-events: all; font-style: normal; + min-width: 25px; +} + +.search-icon-arrow { + right: 25px; + left: auto; } .search-input {