mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
RTL Fixes (#13023)
This commit is contained in:
parent
f611049517
commit
71ac4620c5
@ -326,6 +326,9 @@ export default class HaChartBase extends LitElement {
|
|||||||
width: 16px;
|
width: 16px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
margin-inline-end: 6px;
|
||||||
|
margin-inline-start: initial;
|
||||||
|
direction: var(--direction);
|
||||||
}
|
}
|
||||||
.chartTooltip .bullet {
|
.chartTooltip .bullet {
|
||||||
align-self: baseline;
|
align-self: baseline;
|
||||||
@ -334,6 +337,9 @@ export default class HaChartBase extends LitElement {
|
|||||||
:host([rtl]) .chartTooltip .bullet {
|
:host([rtl]) .chartTooltip .bullet {
|
||||||
margin-right: inherit;
|
margin-right: inherit;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
|
margin-inline-end: inherit;
|
||||||
|
margin-inline-start: 6px;
|
||||||
|
direction: var(--direction);
|
||||||
}
|
}
|
||||||
.chartTooltip {
|
.chartTooltip {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
@ -205,6 +205,9 @@ export class HaFormMultiSelect extends LitElement implements HaFormElement {
|
|||||||
ha-formfield {
|
ha-formfield {
|
||||||
display: block;
|
display: block;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
|
padding-inline-end: 16px;
|
||||||
|
padding-inline-start: initial;
|
||||||
|
direction: var(--direction);
|
||||||
}
|
}
|
||||||
ha-textfield {
|
ha-textfield {
|
||||||
display: block;
|
display: block;
|
||||||
@ -216,6 +219,9 @@ export class HaFormMultiSelect extends LitElement implements HaFormElement {
|
|||||||
right: 1em;
|
right: 1em;
|
||||||
top: 1em;
|
top: 1em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
inset-inline-end: 1em;
|
||||||
|
inset-inline-start: initial;
|
||||||
|
direction: var(--direction);
|
||||||
}
|
}
|
||||||
:host([opened]) ha-svg-icon {
|
:host([opened]) ha-svg-icon {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user