diff --git a/src/panels/lovelace/editor/config-elements/hui-graph-footer-editor.ts b/src/panels/lovelace/editor/config-elements/hui-graph-footer-editor.ts index 706f18177d..e3f49edc23 100644 --- a/src/panels/lovelace/editor/config-elements/hui-graph-footer-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-graph-footer-editor.ts @@ -1,5 +1,5 @@ import type { CSSResultGroup } from "lit"; -import { html, LitElement, nothing } from "lit"; +import { css, html, LitElement, nothing } from "lit"; import { customElement, property, state } from "lit/decorators"; import { assert } from "superstruct"; import type { HASSDomEvent } from "../../../../common/dom/fire_event"; @@ -139,7 +139,14 @@ export class HuiGraphFooterEditor } static get styles(): CSSResultGroup { - return configElementStyle; + return [ + configElementStyle, + css` + .card-config ha-switch { + margin: 1px 0; + } + `, + ]; } }