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

@@ -47,9 +47,10 @@ export class HaSelect extends SelectBase {
.mdc-select__anchor {
width: var(--ha-select-min-width, 200px);
}
:host-context([style*="direction: rtl;"]) .mdc-floating-label {
right: 16px !important;
left: initial !important;
.mdc-floating-label {
inset-inline-start: 16px !important;
inset-inline-end: initial !important;
direction: var(--direction);
}
`,
];