Positioning elements

This commit is contained in:
Matilde Park 2019-08-01 18:39:26 -04:00
parent 35d0d2ac88
commit d634a657e8
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,8 @@ export default class WeatherTile extends Component {
style={{left: 8, top: 4}}>
Weather
</p>
<div className="w-100 mb2 mt2">
<div className="w-100 mb2 mt2 absolute"
style={{left: 18, top: 28}}>
<img
src={'/~weather/img/' + c.icon + '.png'}
width={64}
@ -97,7 +98,8 @@ export default class WeatherTile extends Component {
}}>
{Math.round(c.temperature)}°</h2>
</div>
<div className="w-100 cf">
<div className="w-100 cf absolute"
style={{ left: 18, top: 118 }}>
<div className="fl w-50">
<IconWithData
icon='winddirection'