From fd40b60d740195ff102a9355cbb770bed3ab6ad6 Mon Sep 17 00:00:00 2001 From: karwosts Date: Mon, 12 Feb 2024 21:06:51 -0800 Subject: [PATCH] Fix chart alignments --- src/components/chart/ha-chart-base.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chart/ha-chart-base.ts b/src/components/chart/ha-chart-base.ts index aa4a90fef8d6..1bcfa3871f5f 100644 --- a/src/components/chart/ha-chart-base.ts +++ b/src/components/chart/ha-chart-base.ts @@ -211,9 +211,9 @@ export class HaChartBase extends LitElement { height: `${ this.height ?? this._chartHeight ?? this.clientWidth / 2 }px`, - "padding-left": `${this._paddingYAxisInternal}`, + "padding-left": `${this._paddingYAxisInternal}px`, "padding-right": 0, - "padding-inline-start": `${this._paddingYAxisInternal}`, + "padding-inline-start": `${this._paddingYAxisInternal}px`, "padding-inline-end": 0, })} >