Fixed X placement (#6358)

This commit is contained in:
Yosi Levy 2020-07-10 22:54:38 +03:00 committed by GitHub
parent 875148366e
commit 5078dc1cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)}
></ha-icon-button>
${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;
}
`,
];
}