From fdbc19b240e4e49e553540d0e03d2c311ef406e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Thu, 9 Jan 2020 21:15:52 +0100 Subject: [PATCH] Formating fix --- src/main.js | 1 - template-entity-row.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 4bbb8fb..d3fc3fb 100644 --- a/src/main.js +++ b/src/main.js @@ -94,7 +94,6 @@ class TemplateEntityRow extends LitElement { let style = HuiGenericEntityRow.styles; style.cssText = style.cssText .replace(":host", "#wrapper") - .replace("state-badge", "ha-icon") + ` .state { text-align: right; diff --git a/template-entity-row.js b/template-entity-row.js index 0fe839b..77dd75a 100644 --- a/template-entity-row.js +++ b/template-entity-row.js @@ -18,4 +18,4 @@ - `}static get styles(){let t=customElements.get("hui-generic-entity-row").styles;return t.cssText=t.cssText.replace(":host","#wrapper").replace("state-badge","ha-icon")+"\n .state {\n text-align: right;\n }\n #wrapper {\n min-height: 40px;\n }\n ",t}})}]); \ No newline at end of file + `}static get styles(){let t=customElements.get("hui-generic-entity-row").styles;return t.cssText=t.cssText.replace(":host","#wrapper")+"\n .state {\n text-align: right;\n }\n #wrapper {\n min-height: 40px;\n }\n ",t}})}]); \ No newline at end of file