From 95e560bdc7f099a08978c50863c841f9ec0c5087 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Mon, 17 Jun 2024 17:32:26 +0200 Subject: [PATCH] fix: optimize margins in live view all total cards at the top of the live view go into the same row. bootstrap will line-break after every third column/card, as the row is row-cols-3. the battery icon to the right of the project name in the header shall have marging to said project name. the rows in the live view now use class mt-0 to counteract bootstraps negative margin for individual rows. --- webapp/src/components/BatteryView.vue | 2 +- webapp/src/components/HuaweiView.vue | 2 +- webapp/src/components/InverterTotalInfo.vue | 26 +++++++-------------- webapp/src/components/NavBar.vue | 2 +- webapp/src/components/VedirectView.vue | 4 ++-- webapp/src/views/HomeView.vue | 4 ++-- 6 files changed, 16 insertions(+), 24 deletions(-) diff --git a/webapp/src/components/BatteryView.vue b/webapp/src/components/BatteryView.vue index 929669197..171e5bd8a 100644 --- a/webapp/src/components/BatteryView.vue +++ b/webapp/src/components/BatteryView.vue @@ -6,7 +6,7 @@
-
+
+
-
+

{{ $n(totalVeData.total.YieldTotal.v, 'decimal', { @@ -12,7 +11,7 @@

-
+

{{ $n(totalVeData.total.YieldDay.v, 'decimal', { @@ -23,7 +22,7 @@

-
+

{{ $n(totalVeData.total.Power.v, 'decimal', { @@ -34,9 +33,6 @@

-
-
-

@@ -70,10 +66,7 @@

-
-
-
-
+

{{ $n(totalBattData.soc.v, 'decimal', { @@ -83,8 +76,8 @@ {{ totalBattData.soc.u }}

-
-
+
+

{{ $n(powerMeterData.Power.v, 'decimal', { @@ -94,8 +87,8 @@ {{powerMeterData.Power.u }}

-
-
+
+

{{ $n(huaweiData.Power.v, 'decimal', { @@ -105,9 +98,8 @@ {{huaweiData.Power.u }}

-
+
-