From 9ba282687de9ec8d09f5552d06347c1c8098f6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Tue, 7 Jan 2020 10:33:19 +0100 Subject: [PATCH] Fix #1. Fix #3 --- src/main.js | 3 +++ template-entity-row.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 67f231c..380384f 100644 --- a/src/main.js +++ b/src/main.js @@ -79,6 +79,9 @@ class TemplateEntityRow extends LitElement { .state { text-align: right; } + #wrapper { + min-height: 40px; + } `; return style; } diff --git a/template-entity-row.js b/template-entity-row.js index 28e29dc..3108c38 100644 --- a/template-entity-row.js +++ b/template-entity-row.js @@ -20,4 +20,4 @@ - `}static get styles(){let e=customElements.get("hui-generic-entity-row").styles;return e.cssText=e.cssText.replace(":host","#wrapper").replace("state-badge","ha-icon")+"\n .state {\n text-align: right;\n }\n ",e}})}]); \ No newline at end of file + `}static get styles(){let e=customElements.get("hui-generic-entity-row").styles;return e.cssText=e.cssText.replace(":host","#wrapper").replace("state-badge","ha-icon")+"\n .state {\n text-align: right;\n }\n #wrapper {\n min-height: 40px;\n }\n ",e}})}]); \ No newline at end of file