group info and combiner css together

This commit is contained in:
Mashy
2019-11-24 13:08:28 +10:00
parent 6ce43884c9
commit a9faec1d4e
2 changed files with 31 additions and 21 deletions
+5 -3
View File
@@ -68,8 +68,8 @@ class InfoComponent extends preact.Component {
if (newProps.tutorial !== this.props.tutorial) return true;
if (newProps.vboxHighlight !== this.props.vboxHighlight) return true;
if (newProps.vboxSelected !== this.props.vboxSelected) return true;
if (newState.comboItem !== this.state.comboItem) return true;
return false;
}
@@ -301,8 +301,10 @@ class InfoComponent extends preact.Component {
return (
<div class='info'>
<div onMouseOver={() => this.setState({ comboItem: null })}>
<Info />
<Combiner />
<div class='info-details'>
<Info />
<Combiner />
</div>
</div>
<Combos />
</div>