this._backTapped()}
.tabs=${configSections.automation}
>
+ ${this.narrow
+ ? html`
+ ${title}
+
+
+ ${actionButtons}
+
`
+ : ""}
${this._traces === undefined
@@ -173,6 +185,7 @@ export class HaAutomationTrace extends LitElement {
? html`
* {
+ display: contents;
+ }
+
.main {
height: calc(100% - 56px);
display: flex;
background-color: var(--card-background-color);
}
+ :host([narrow]) .main {
+ height: auto;
+ flex-direction: column;
+ }
+
.graph {
border-right: 1px solid var(--divider-color);
}