Added fixed size to make animations smooth on desktop

This commit is contained in:
Zakary Timson 2019-01-01 21:23:00 -05:00
parent 88e91175e8
commit 67c7ee2156
2 changed files with 64 additions and 60 deletions

View File

@ -1,4 +1,5 @@
<div class="desktop-height p-3" style="background-color: #b52e3c !important;">
<div style="max-width: 1000px;">
<div class="d-flex mb-3">
<div class="d-flex flex-grow-1 align-items-center">
<h3 class="mb-0 text-white">Powerwall: {{batteryService.charge | round}} V</h3>
@ -47,3 +48,4 @@
</div>
</mat-card>
</div>
</div>

View File

@ -1,4 +1,5 @@
<div class="desktop-height p-3">
<div style="max-width: 1000px;">
<div>
<h1 class="d-inline">{{now | async | date: 'fullDate'}}</h1>
<h1 class="d-inline float-right">{{now | async | date: 'mediumTime'}}</h1>
@ -20,3 +21,4 @@
</div>
</div>
</div>
</div>