Formating fix

This commit is contained in:
Thomas Lovén 2020-01-09 21:15:52 +01:00
parent 2829ae2946
commit fdbc19b240
2 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,6 @@ class TemplateEntityRow extends LitElement {
let style = HuiGenericEntityRow.styles; let style = HuiGenericEntityRow.styles;
style.cssText = style.cssText style.cssText = style.cssText
.replace(":host", "#wrapper") .replace(":host", "#wrapper")
.replace("state-badge", "ha-icon")
+ ` + `
.state { .state {
text-align: right; text-align: right;

View File

@ -18,4 +18,4 @@
</div> </div>
</div> </div>
</div> </div>
`}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}})}]); `}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}})}]);