1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 02:42:48 +00:00

fixed css

This commit is contained in:
2016-09-18 18:15:30 +00:00
parent 87d941804a
commit b5c7546579
4 changed files with 16 additions and 3 deletions

View File

@@ -30,10 +30,10 @@ export default class SensorList extends React.Component {
return (
<div key={index} class="row" onClick={() => {this.openLink(sensor.location)}}>
<div class="item">
<div class="temperature">
<h1>{sensor.temperature}°f</h1>
</div>
<div class="item">
<div class="info">
<h3>{sensor.location}</h3>
<span class="date">Updated: {date.toLocaleString('en-us', options)}
{Date.now() - date < 420000