Add margin between logbook and history (#15571)

This commit is contained in:
Paul Bottein 2023-02-23 16:23:24 +01:00 committed by GitHub
parent f92deb3225
commit 7173b30716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {