Skip to content

Commit

Permalink
Better mark outdated temperature values
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Jan 14, 2024
1 parent 7dd91a4 commit 190c70a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/widgets/SensorReading/SensorReading.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ const SensorReading = ({
<i className={'fa-solid fa-5x fa-thermometer-' + thermometerState} />
</Col>
<Col xs={9} className="text-end">
<div className="huge">{formattedValue}</div>
<div className={'huge' + (isCurrent ? '' : ' text-decoration-line-through')}>
{formattedValue}
</div>
<div title={formattedTimestamp}>{label}</div>
</Col>
</Row>
Expand Down

0 comments on commit 190c70a

Please sign in to comment.