From 6d6fe18465e8d9b9c9a49a0aea5f92580bfcec59 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Thu, 15 Nov 2018 13:00:00 -0500 Subject: [PATCH] More battery page styling --- src/app/battery/battery.component.html | 8 ++++---- src/styles.scss | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/app/battery/battery.component.html b/src/app/battery/battery.component.html index 9d58502..e80e31c 100644 --- a/src/app/battery/battery.component.html +++ b/src/app/battery/battery.component.html @@ -1,8 +1,9 @@ +

POWER WALL: {{batteryService.average * 100}}% UNKNOWN

-
+
- - {{b.name}} -
+ +

{{b.name}}

{{b.history[0].percentage * 100}}%
{{b.history[0].temp}} °C diff --git a/src/styles.scss b/src/styles.scss index 946a9e6..e4b9573 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -35,6 +35,11 @@ html, body { } } +.nav-fix { + width: 100%; + height: 64px; +} + .center { position: fixed; left: 50%;