Skip to content

Commit

Permalink
more SCSS fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreKoepke committed Feb 26, 2025
1 parent bbfdb67 commit 68817e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions frontend/src/app/pages/start-page/start-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
</ul>
}
</div>
<div>
@if (sensorsThatAreMoving().length > 0) {
@if (sensorsThatAreMoving().length > 0) {
<div>
<span>Bewegungsmelder haben Bewegung: </span>
<ul>
@for (sensor of sensorsThatAreMoving(); track sensor.id) {
<li>{{ sensor.name }} <span class="grayed">seit {{ sensor.lastUpdate | dateAgo | async }}</span></li>
}
</ul>
}
</div>

</div>
}
<div>
<div>{{ weather().outerTemperature | weatherValue }}</div>
<div>{{ weather().outerLight | weatherValue }}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:host {
display: grid;
grid-template-columns: repeat( auto-fit, minmax(350px, 1fr) );
grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
}

.grayed {
Expand Down

0 comments on commit 68817e3

Please sign in to comment.