Rtl changes (#12693)

This commit is contained in:
Yosi Levy
2022-05-16 16:57:14 +03:00
committed by GitHub
parent 3d66a68791
commit 1bd760b455
24 changed files with 109 additions and 125 deletions

View File

@@ -133,9 +133,10 @@ export class HaFormString extends LitElement implements HaFormElement {
color: var(--secondary-text-color);
}
:host-context([style*="direction: rtl;"]) ha-icon-button {
right: auto;
left: 12px;
ha-icon-button {
inset-inline-start: initial;
inset-inline-end: 12px;
direction: var(--direction);
}
`;
}