Fix config card rtl issues

This commit is contained in:
Yosi Levy 2022-01-28 17:45:12 +02:00
parent a91897821a
commit 8d2c716fbe
3 changed files with 6 additions and 5 deletions

View File

@ -134,7 +134,7 @@ class HaConfigInfo extends LitElement {
: ""} : ""}
</p> </p>
</div> </div>
<div class="content"> <div>
<system-health-card .hass=${this.hass}></system-health-card> <system-health-card .hass=${this.hass}></system-health-card>
<integrations-card <integrations-card
.hass=${this.hass} .hass=${this.hass}
@ -167,10 +167,6 @@ class HaConfigInfo extends LitElement {
-moz-user-select: initial; -moz-user-select: initial;
} }
.content {
direction: ltr;
}
.about { .about {
text-align: center; text-align: center;
line-height: 2em; line-height: 2em;

View File

@ -176,6 +176,7 @@ class IntegrationsCard extends LitElement {
td.setup { td.setup {
text-align: right; text-align: right;
white-space: nowrap; white-space: nowrap;
direction: ltr;
} }
th { th {
text-align: right; text-align: right;

View File

@ -264,6 +264,10 @@ class SystemHealthCard extends LitElement {
width: 45%; width: 45%;
} }
td:last-child {
direction: ltr;
}
.loading-container { .loading-container {
display: flex; display: flex;
align-items: center; align-items: center;