RTL reading orders and alignments in system log (#12388)

This commit is contained in:
Yosi Levy 2022-04-22 23:19:38 +03:00 committed by GitHub
parent 269ef370e4
commit 558ab9761d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -84,6 +84,10 @@ class ErrorLogCard extends LitElement {
.warning {
color: var(--warning-color);
}
:host-context([style*="direction: rtl;"]) mwc-button {
direction: rtl;
}
`;
}

View File

@ -204,6 +204,10 @@ export class SystemLogCard extends LitElement {
.warning {
color: var(--warning-color);
}
:host-context([style*="direction: rtl;"]) .card-actions {
direction: rtl;
}
`;
}
}