From 7173b30716091c85380a4275ecf26512b5e3c8f3 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 23 Feb 2023 16:23:24 +0100 Subject: [PATCH] Add margin between logbook and history (#15571) --- .../more-info/ha-more-info-history-and-logbook.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/dialogs/more-info/ha-more-info-history-and-logbook.ts b/src/dialogs/more-info/ha-more-info-history-and-logbook.ts index c0ae54602f..5d01b4b0ae 100644 --- a/src/dialogs/more-info/ha-more-info-history-and-logbook.ts +++ b/src/dialogs/more-info/ha-more-info-history-and-logbook.ts @@ -1,4 +1,4 @@ -import { LitElement, html } from "lit"; +import { css, CSSResultGroup, html, LitElement } from "lit"; import { customElement, property } from "lit/decorators"; import { HomeAssistant } from "../../types"; import { @@ -34,6 +34,18 @@ export class MoreInfoHistoryAndLogbook extends LitElement { : ""} `; } + + static get styles(): CSSResultGroup { + return css` + ha-more-info-history, + ha-more-info-logbook { + display: block; + } + ha-more-info-history + ha-more-info-logbook { + margin-top: 16px; + } + `; + } } declare global {