Commit 64f00d35 authored by afc163's avatar afc163

Fix HeaderSearch error

parent ffc1e5a9
......@@ -27,7 +27,7 @@ export default class HeaderSearch extends PureComponent {
enterSearchMode = () => {
this.setState({ searchMode: true }, () => {
if (this.state.searchMode) {
this.input.refs.input.focus();
this.input.focus();
}
});
}
......
......@@ -66,8 +66,12 @@
background: rgba(0, 0, 0, .04);
}
}
.search:hover {
background: transparent;
.search {
padding: 0;
margin: 0 12px;
&:hover {
background: transparent;
}
}
.account {
.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