diff --git a/Energy_Pie/module.html b/Energy_Pie/module.html index 6397d9b..d399aaf 100644 --- a/Energy_Pie/module.html +++ b/Energy_Pie/module.html @@ -92,6 +92,22 @@ letter-spacing: 0.3px; opacity: 1; } + #hint .kv { + display: inline-block; + margin-right: 14px; + white-space: nowrap; + } + #hint .kv b { + font-weight: 800; + } + + /* App/kleine Breite: untereinander */ + @media (max-width: 720px) { + #hint .kv { + display: block; + margin: 4px 0; + } + } @@ -202,60 +218,55 @@ function donutCard({ title, percent, subtitle, color }) { const dash = share * c; // farbiger Anteil const rest = c - dash; // Rest (dunkel) - return ` -