Possibly fix #1
This commit is contained in:
1 parent
39ccb78490
commit
7e4846ff5d
2 files changed
+11
-2
No files matched your search
+8
-1
@@ -61,7 +61,9 @@ class TemplateEntityRow extends LitElement {
|
||||
${this.state.secondary}
|
||||
</div>
|
||||
</div>
|
||||
<div class="state">
|
||||
${this.state.state}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
@@ -72,7 +74,12 @@ class TemplateEntityRow extends LitElement {
|
||||
let style = HuiGenericEntityRow.styles;
|
||||
style.cssText = style.cssText
|
||||
.replace(":host", "#wrapper")
|
||||
.replace("state-badge", "ha-icon");
|
||||
.replace("state-badge", "ha-icon")
|
||||
+ `
|
||||
.state {
|
||||
text-align: right;
|
||||
}
|
||||
`;
|
||||
return style;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user