mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-08 18:39:40 +00:00
RTL fixes (#12367)
This commit is contained in:
@@ -11,7 +11,6 @@ import {
|
||||
} from "lit";
|
||||
import { customElement, state } from "lit/decorators";
|
||||
import { fireEvent, HASSDomEvent } from "../../common/dom/fire_event";
|
||||
import { computeRTL } from "../../common/util/compute_rtl";
|
||||
import "../../components/ha-circular-progress";
|
||||
import "../../components/ha-dialog";
|
||||
import "../../components/ha-icon-button";
|
||||
@@ -261,7 +260,6 @@ class DataEntryFlowDialog extends LitElement {
|
||||
<ha-icon-button
|
||||
.label=${this.hass.localize("ui.common.help")}
|
||||
.path=${mdiHelpCircle}
|
||||
?rtl=${computeRTL(this.hass)}
|
||||
>
|
||||
</ha-icon-button
|
||||
></a>
|
||||
@@ -273,7 +271,6 @@ class DataEntryFlowDialog extends LitElement {
|
||||
)}
|
||||
.path=${mdiClose}
|
||||
dialogAction="close"
|
||||
?rtl=${computeRTL(this.hass)}
|
||||
></ha-icon-button>
|
||||
</div>
|
||||
${this._step === null
|
||||
@@ -521,7 +518,7 @@ class DataEntryFlowDialog extends LitElement {
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.dialog-actions[rtl] {
|
||||
:host-context([style*="direction: rtl;"]) .dialog-actions {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user