From 33b586db49987aa5b8670635a70cfa0fa7e6c567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20F=C3=A9lix?= Date: Sat, 13 May 2023 22:24:29 +0200 Subject: [PATCH] fix: overflow period --- src/style.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/style.ts b/src/style.ts index ba63f30..bba68a5 100644 --- a/src/style.ts +++ b/src/style.ts @@ -4,6 +4,10 @@ export const styles = css` ha-card { padding: 1rem; } + h1 { + padding: 0; + padding-bottom: 1rem; + } `; export const stylesBase = css` @@ -17,9 +21,8 @@ export const stylesBase = css` .row { display: flex; justify-content: flex-end; - } - :host([narrow]) .row { flex-direction: column-reverse; + margin-bottom: 8px; } .label { display: flex; @@ -34,9 +37,6 @@ export const stylesBase = css` align-items: center; gap: 1rem; } - :host([narrow]) .period { - margin-bottom: 8px; - } mwc-button { margin-left: 8px; }