From f0d850f8e38f87013922f40eba47efc0d9d0bda8 Mon Sep 17 00:00:00 2001 From: Gergely Kocsis <26442204+koger23@users.noreply.github.com> Date: Sun, 7 Jul 2024 15:07:46 +0200 Subject: [PATCH] Update energy-overview-card.ts SVG line was not responsive in smaller size, it has overflow on the left. Removing height solved the issue, but aligned the svg lower to the bottom, which seemed to be fixed by adding 3px padding to the bottom. --- src/energy-overview-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/energy-overview-card.ts b/src/energy-overview-card.ts index 713d72a..6009899 100644 --- a/src/energy-overview-card.ts +++ b/src/energy-overview-card.ts @@ -98,7 +98,7 @@ export class EnergyOverviewCard extends LitElement { .line svg { width: 100%; - height: 15px; + padding-bottom: 3px; } .line svg path {