From 271120999c45d3a5b0b24eda403e9233906a0437 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 25 Aug 2021 01:22:37 -0700 Subject: [PATCH] Center nodes in narrow mode (#9878) --- src/panels/config/automation/ha-automation-trace.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/config/automation/ha-automation-trace.ts b/src/panels/config/automation/ha-automation-trace.ts index 0ad7147da0..b4ba49cc05 100644 --- a/src/panels/config/automation/ha-automation-trace.ts +++ b/src/panels/config/automation/ha-automation-trace.ts @@ -490,9 +490,12 @@ export class HaAutomationTrace extends LitElement { border-right: 1px solid var(--divider-color); overflow-x: auto; max-width: 50%; + padding-bottom: 16px; } :host([narrow]) .graph { max-width: 100%; + justify-content: center; + display: flex; } .info {