From ee119599c36f864f42dd35cc13b94e1b30becc0a Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Wed, 12 Jul 2023 15:24:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9B=20Makes=20topbar=20fully=20respons?= =?UTF-8?q?ive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/components/Topbar.svelte | 117 +++++++++++++------------------ 1 file changed, 48 insertions(+), 69 deletions(-) diff --git a/app/src/components/Topbar.svelte b/app/src/components/Topbar.svelte index bffeec7..50c469d 100644 --- a/app/src/components/Topbar.svelte +++ b/app/src/components/Topbar.svelte @@ -1,29 +1,20 @@
-
- -
-
-
- {#if $width !== 0} -
-
RSSI:{$data[0]}db
-
MPU:{round($data[1])}°
-
CPU:{round($data[8])}°
-
X:{round($data[5])}
-
Y:{round($data[6])}
-
Z:{round($data[7])}
-
Left:{round($data[9])}cm
-
Right:{round($data[10])}cm
-
Heap:{humanFileSize($data[11])}
-
Psram:{humanFileSize($data[12])}
-
-
- - -
- {/if} -
-
- - - -
- - - - -
-
-
-
{Math.floor($data[8])}°🌡️
+
+
+ +
+
{Math.floor($data[5])}°🌡️
+
+
+
+
+ {#if $width !== 0} +
+ + +
+ {/if} +
+
+ + + +
+ + + + +
+
+
+