From 016fd7aee78254deb3782f527b71efc0e5795347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20St=C3=B6lzle?= Date: Sun, 30 Jul 2023 09:33:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vartastorage/index.jsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/packages/vartastorage/index.jsx b/packages/vartastorage/index.jsx index 395e393..5eb71dc 100644 --- a/packages/vartastorage/index.jsx +++ b/packages/vartastorage/index.jsx @@ -57,7 +57,7 @@ export const render = ({items, error}) => { - {Erzeugungsleistung.value} + {Erzeugungsleistung.value} {Erzeugungsleistung.unit} {/* Ladezustand */} @@ -77,7 +77,7 @@ export const render = ({items, error}) => { - {charge} + {charge} % {/* Energieverbrauch */} @@ -85,7 +85,7 @@ export const render = ({items, error}) => { - {Energieverbrauch.value} + {Energieverbrauch.value} {Energieverbrauch.unit} {/* Netz */} @@ -93,7 +93,7 @@ export const render = ({items, error}) => { - {Netz.value} + {Netz.value} {Netz.unit} @@ -168,14 +168,10 @@ export const Unit = styled('span')` font-weight: 100; @media (prefers-color-scheme: light) { - span { - opacity: 0.64; - } + opacity: 0.64; } @media (prefers-color-scheme: dark) { - span { - opacity: 0.32; - } + opacity: 0.32; } margin-left: 0.32em;