зеркало из https://github.com/mozilla/moz-rockbot.git
upped the font-size on mobile, removed submit button.
This commit is contained in:
Родитель
b7cdff67c9
Коммит
8489cd8527
|
@ -246,7 +246,6 @@ var SearchPanel = React.createClass({
|
|||
</header>
|
||||
<form className="searchForm">
|
||||
<input className="query" onChange={this.onChange} value={this.state.query} />
|
||||
<button className="submit">submit</button>
|
||||
</form>
|
||||
<div className="results-container">
|
||||
<SearchResults results={this.state}
|
||||
|
|
|
@ -237,7 +237,7 @@ h2 {
|
|||
}
|
||||
|
||||
@media (max-device-width: 480px) {
|
||||
.queue {
|
||||
font-size: 2.5rem;
|
||||
html {
|
||||
font-size: 3vmin;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -245,8 +245,7 @@ var SearchPanel = React.createClass({displayName: "SearchPanel",
|
|||
React.createElement("h1", null, "Search")
|
||||
),
|
||||
React.createElement("form", {className: "searchForm"},
|
||||
React.createElement("input", {className: "query", onChange: this.onChange, value: this.state.query}),
|
||||
React.createElement("button", {className: "submit"}, "submit")
|
||||
React.createElement("input", {className: "query", onChange: this.onChange, value: this.state.query})
|
||||
),
|
||||
React.createElement("div", {className: "results-container"},
|
||||
React.createElement(SearchResults, {results: this.state,
|
||||
|
|
Загрузка…
Ссылка в новой задаче