From 3888c56f1a750ad599a87e6269ecb9f2b7e39765 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Tue, 30 Mar 2021 20:16:06 +0200 Subject: [PATCH] Add padding when loading traces or none found (#8760) --- src/panels/config/automation/trace/ha-automation-trace.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/panels/config/automation/trace/ha-automation-trace.ts b/src/panels/config/automation/trace/ha-automation-trace.ts index d439bdebc6..2c86617ce2 100644 --- a/src/panels/config/automation/trace/ha-automation-trace.ts +++ b/src/panels/config/automation/trace/ha-automation-trace.ts @@ -161,9 +161,9 @@ export class HaAutomationTrace extends LitElement { ${this._traces === undefined - ? "Loading…" + ? html`
Loading…
` : this._traces.length === 0 - ? "No traces found" + ? html`
No traces found
` : this._trace === undefined ? "" : html` @@ -426,6 +426,10 @@ export class HaAutomationTrace extends LitElement { flex-direction: column; } + .container { + padding: 16px; + } + .graph { border-right: 1px solid var(--divider-color); }