From db5520452d4bf37a261f7d7948f437c47a22d62b Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Sat, 26 Oct 2024 23:31:04 +0200 Subject: [PATCH] webapp: fixup battery total cards the total cards have been trimmed at the bottom as the card's last child has its margin-bottom removed (set to "auto"). that is desired as it places the text in the middle of the cards. however, the battery total cards are different, as they show two values each, which are arranged by div.flex-fill containers, which are the children of the cards rather than the h2 tags as in all other totals cards. --- webapp/src/components/InverterTotalInfo.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/src/components/InverterTotalInfo.vue b/webapp/src/components/InverterTotalInfo.vue index a1f0a315..d811bd03 100644 --- a/webapp/src/components/InverterTotalInfo.vue +++ b/webapp/src/components/InverterTotalInfo.vue @@ -99,7 +99,7 @@ :text="$t('invertertotalinfo.BatteryCharge')" >
-

+

{{ $n(totalBattData.soc.v, 'decimal', { minimumFractionDigits: totalBattData.soc.d, @@ -111,7 +111,7 @@

-

+

{{ $n(totalBattData.voltage.v, 'decimal', { minimumFractionDigits: totalBattData.voltage.d, @@ -131,7 +131,7 @@ :text="$t('invertertotalinfo.BatteryPower')" >
-

+

{{ $n(totalBattData.power.v, 'decimal', { minimumFractionDigits: totalBattData.power.d, @@ -143,7 +143,7 @@

-

+

{{ $n(totalBattData.current.v, 'decimal', { minimumFractionDigits: totalBattData.current.d,