Move search input to the right

This commit is contained in:
Jordan Eldredge 2018-12-02 18:26:59 -08:00
parent a493a9d0db
commit c125aacf06

View file

@ -143,13 +143,13 @@ class App extends React.Component {
<span className="name">Winamp Skin Museum</span>
</a>
</h1>
<span style={{ flexGrow: 1 }} />
<input
type="text"
onChange={e => this.props.setSearchQuery(e.target.value)}
value={this.props.searchQuery || ""}
placeholder={"Search..."}
/>
<span style={{ flexGrow: 1 }} />
<button
onClick={() => {
this.props.requestRandomSkin();