Merge pull request #11475 from yosilevy/config-info-rtl-fix

Fix config card rtl issues
This commit is contained in:
Yosi Levy 2022-02-04 05:22:29 +02:00 committed by GitHub
commit bfaf44f9d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;