Energy panel/cards - RTL fixes (#13171)

This commit is contained in:
Yosi Levy
2022-07-11 16:47:22 +03:00
committed by GitHub
parent 29c3fb0f92
commit 55e9ebc4d2
8 changed files with 34 additions and 15 deletions

View File

@@ -156,7 +156,7 @@ class HuiGenericEntityRow extends LitElement {
: html``}
${this.catchInteraction ?? !DOMAINS_INPUT_ROW.includes(domain)
? html`<div
class="text-content ${classMap({
class="text-content value ${classMap({
pointer,
})}"
@action=${this._handleAction}
@@ -236,6 +236,9 @@ class HuiGenericEntityRow extends LitElement {
.state.rtl {
text-align: left;
}
.value {
direction: ltr;
}
`;
}
}