зеркало из https://github.com/mozilla/moz-rockbot.git
upped the font-size on mobile, removed submit button.
This commit is contained in:
Родитель
8489cd8527
Коммит
a6356f1385
|
@ -244,9 +244,9 @@ var SearchPanel = React.createClass({
|
|||
<a href="#" onClick={this.go.bind(this, 'detail')}>Back</a>
|
||||
<h1>Search</h1>
|
||||
</header>
|
||||
<form className="searchForm">
|
||||
<div className="searchForm">
|
||||
<input className="query" onChange={this.onChange} value={this.state.query} />
|
||||
</form>
|
||||
</div>
|
||||
<div className="results-container">
|
||||
<SearchResults results={this.state}
|
||||
searchArtist={this.searchArtist}
|
||||
|
|
|
@ -225,6 +225,9 @@ header > h1 {
|
|||
height: 100%;
|
||||
font-size: 2rem;
|
||||
}
|
||||
.results li {
|
||||
padding: .5rem 0;
|
||||
}
|
||||
.results h2 {
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
|
@ -244,7 +244,7 @@ var SearchPanel = React.createClass({displayName: "SearchPanel",
|
|||
React.createElement("a", {href: "#", onClick: this.go.bind(this, 'detail')}, "Back"),
|
||||
React.createElement("h1", null, "Search")
|
||||
),
|
||||
React.createElement("form", {className: "searchForm"},
|
||||
React.createElement("div", {className: "searchForm"},
|
||||
React.createElement("input", {className: "query", onChange: this.onChange, value: this.state.query})
|
||||
),
|
||||
React.createElement("div", {className: "results-container"},
|
||||
|
|
Загрузка…
Ссылка в новой задаче