mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
RTL fixes (#22060)
This commit is contained in:
parent
d25f72524b
commit
af46b8221e
@ -24,9 +24,11 @@ export class HaOutlinedField extends MdOutlinedField {
|
|||||||
}
|
}
|
||||||
.with-start .start {
|
.with-start .start {
|
||||||
margin-inline-end: var(--ha-outlined-field-start-margin, 4px);
|
margin-inline-end: var(--ha-outlined-field-start-margin, 4px);
|
||||||
|
margin-inline-start: initial;
|
||||||
}
|
}
|
||||||
.with-end .end {
|
.with-end .end {
|
||||||
margin-inline-start: var(--ha-outlined-field-end-margin, 4px);
|
margin-inline-start: var(--ha-outlined-field-end-margin, 4px);
|
||||||
|
margin-inline-end: initial;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
@ -302,6 +302,7 @@ export class HuiCardLayoutEditor extends LitElement {
|
|||||||
ha-grid-size-picker {
|
ha-grid-size-picker {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 16px auto;
|
margin: 16px auto;
|
||||||
|
direction: ltr;
|
||||||
}
|
}
|
||||||
ha-yaml-editor {
|
ha-yaml-editor {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -13,6 +13,7 @@ import { fireEvent } from "../../../../common/dom/fire_event";
|
|||||||
import { stringCompare } from "../../../../common/string/compare";
|
import { stringCompare } from "../../../../common/string/compare";
|
||||||
import { HaSwitch } from "../../../../components/ha-switch";
|
import { HaSwitch } from "../../../../components/ha-switch";
|
||||||
import "../../../../components/user/ha-user-badge";
|
import "../../../../components/user/ha-user-badge";
|
||||||
|
import "../../../../components/ha-list-item";
|
||||||
import {
|
import {
|
||||||
LovelaceViewConfig,
|
LovelaceViewConfig,
|
||||||
ShowViewConfig,
|
ShowViewConfig,
|
||||||
@ -71,7 +72,7 @@ export class HuiViewVisibilityEditor extends LitElement {
|
|||||||
</p>
|
</p>
|
||||||
${this._sortedUsers(this._users).map(
|
${this._sortedUsers(this._users).map(
|
||||||
(user) => html`
|
(user) => html`
|
||||||
<mwc-list-item graphic="avatar" hasMeta>
|
<ha-list-item graphic="avatar" hasMeta>
|
||||||
<ha-user-badge
|
<ha-user-badge
|
||||||
slot="graphic"
|
slot="graphic"
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
@ -84,7 +85,7 @@ export class HuiViewVisibilityEditor extends LitElement {
|
|||||||
@change=${this.valChange}
|
@change=${this.valChange}
|
||||||
.checked=${this.checkUser(user.id)}
|
.checked=${this.checkUser(user.id)}
|
||||||
></ha-switch>
|
></ha-switch>
|
||||||
</mwc-list-item>
|
</ha-list-item>
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user