Commit 64f00d35 authored by afc163's avatar afc163

Fix HeaderSearch error

parent ffc1e5a9
...@@ -27,7 +27,7 @@ export default class HeaderSearch extends PureComponent { ...@@ -27,7 +27,7 @@ export default class HeaderSearch extends PureComponent {
enterSearchMode = () => { enterSearchMode = () => {
this.setState({ searchMode: true }, () => { this.setState({ searchMode: true }, () => {
if (this.state.searchMode) { if (this.state.searchMode) {
this.input.refs.input.focus(); this.input.focus();
} }
}); });
} }
......
...@@ -66,8 +66,12 @@ ...@@ -66,8 +66,12 @@
background: rgba(0, 0, 0, .04); background: rgba(0, 0, 0, .04);
} }
} }
.search:hover { .search {
background: transparent; padding: 0;
margin: 0 12px;
&:hover {
background: transparent;
}
} }
.account { .account {
.avatar { .avatar {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment