mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
fixed css
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user