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,9 +66,13 @@ ...@@ -66,9 +66,13 @@
background: rgba(0, 0, 0, .04); background: rgba(0, 0, 0, .04);
} }
} }
.search:hover { .search {
padding: 0;
margin: 0 12px;
&:hover {
background: transparent; background: transparent;
} }
}
.account { .account {
.avatar { .avatar {
margin: 20px 8px 20px 0; margin: 20px 8px 20px 0;
......
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