From 67c7ee2156bc201ac2078c9670bf1f56138ad267 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Tue, 1 Jan 2019 21:23:00 -0500 Subject: [PATCH] Added fixed size to make animations smooth on desktop --- src/app/battery/battery.component.html | 88 +++++++++++----------- src/app/dashboard/dashboard.component.html | 36 ++++----- 2 files changed, 64 insertions(+), 60 deletions(-) diff --git a/src/app/battery/battery.component.html b/src/app/battery/battery.component.html index 99a2fec..025fadc 100644 --- a/src/app/battery/battery.component.html +++ b/src/app/battery/battery.component.html @@ -1,49 +1,51 @@
-
-
-

Powerwall: {{batteryService.charge | round}} V

-
-
- - Auto - On - Off - -
-
- -
+
+
-
{{battery.name}}
+

Powerwall: {{batteryService.charge | round}} V

-
- -
-
- +
+ + Auto + On + Off +
-
- -
-
- -
- + +
+
+
{{battery.name}}
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
diff --git a/src/app/dashboard/dashboard.component.html b/src/app/dashboard/dashboard.component.html index fe38f70..397b2ac 100644 --- a/src/app/dashboard/dashboard.component.html +++ b/src/app/dashboard/dashboard.component.html @@ -1,22 +1,24 @@
-
-

{{now | async | date: 'fullDate'}}

-

{{now | async | date: 'mediumTime'}}

-
-
-
- - - - - +
+
+

{{now | async | date: 'fullDate'}}

+

{{now | async | date: 'mediumTime'}}

-
- - - - - +
+
+ + + + + +
+
+ + + + + +