From 5078dc1cbf6cf1c08461278995e1f2429c2b15f3 Mon Sep 17 00:00:00 2001 From: Yosi Levy <37745463+yosilevy@users.noreply.github.com> Date: Fri, 10 Jul 2020 22:54:38 +0300 Subject: [PATCH] Fixed X placement (#6358) --- src/dialogs/config-flow/dialog-data-entry-flow.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dialogs/config-flow/dialog-data-entry-flow.ts b/src/dialogs/config-flow/dialog-data-entry-flow.ts index 228cead5ce..5cb369c0f0 100644 --- a/src/dialogs/config-flow/dialog-data-entry-flow.ts +++ b/src/dialogs/config-flow/dialog-data-entry-flow.ts @@ -35,6 +35,7 @@ import "./step-flow-external"; import "./step-flow-form"; import "./step-flow-loading"; import "./step-flow-pick-handler"; +import { computeRTL } from "../../common/util/compute_rtl"; let instance = 0; @@ -147,6 +148,7 @@ class DataEntryFlowDialog extends LitElement { )} icon="hass:close" dialogAction="close" + ?rtl=${computeRTL(this.hass)} > ${this._step === null ? // Show handler picker @@ -318,6 +320,10 @@ class DataEntryFlowDialog extends LitElement { top: 0; right: 0; } + ha-icon-button[rtl] { + right: auto; + left: 0; + } `, ]; }