mirror of
https://github.com/urbit/shrub.git
synced 2025-01-06 13:14:01 +03:00
Redesigning the set location appearance + label
This commit is contained in:
parent
7ff6d99c2b
commit
8042bce45b
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@ export default class WeatherTile extends Component {
|
|||||||
|
|
||||||
renderWrapper(child) {
|
renderWrapper(child) {
|
||||||
return (
|
return (
|
||||||
<div className="pa2" style={{
|
<div className="pa2 relative" style={{
|
||||||
width: 234,
|
width: 234,
|
||||||
height: 234,
|
height: 234,
|
||||||
background: '#1a1a1a'
|
background: '#1a1a1a'
|
||||||
@ -60,9 +60,12 @@ export default class WeatherTile extends Component {
|
|||||||
|
|
||||||
renderNoData() {
|
renderNoData() {
|
||||||
return this.renderWrapper((
|
return this.renderWrapper((
|
||||||
<div>
|
<div onClick={this.locationSubmit.bind(this)}>
|
||||||
<p className="white sans-serif">Weather</p>
|
<p className="gray label-regular b absolute"
|
||||||
<button onClick={this.locationSubmit.bind(this)}>Set location</button>
|
style={{left: 8, top: 4}}>
|
||||||
|
Weather
|
||||||
|
</p>
|
||||||
|
<p className="absolute w-100 flex-col body-regular white" style={{verticalAlign: "bottom", bottom: 8, left: 8}}>Set location</p>
|
||||||
</div>
|
</div>
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user