mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fixed X placement (#6358)
This commit is contained in:
parent
875148366e
commit
5078dc1cbf
@ -35,6 +35,7 @@ import "./step-flow-external";
|
|||||||
import "./step-flow-form";
|
import "./step-flow-form";
|
||||||
import "./step-flow-loading";
|
import "./step-flow-loading";
|
||||||
import "./step-flow-pick-handler";
|
import "./step-flow-pick-handler";
|
||||||
|
import { computeRTL } from "../../common/util/compute_rtl";
|
||||||
|
|
||||||
let instance = 0;
|
let instance = 0;
|
||||||
|
|
||||||
@ -147,6 +148,7 @@ class DataEntryFlowDialog extends LitElement {
|
|||||||
)}
|
)}
|
||||||
icon="hass:close"
|
icon="hass:close"
|
||||||
dialogAction="close"
|
dialogAction="close"
|
||||||
|
?rtl=${computeRTL(this.hass)}
|
||||||
></ha-icon-button>
|
></ha-icon-button>
|
||||||
${this._step === null
|
${this._step === null
|
||||||
? // Show handler picker
|
? // Show handler picker
|
||||||
@ -318,6 +320,10 @@ class DataEntryFlowDialog extends LitElement {
|
|||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
ha-icon-button[rtl] {
|
||||||
|
right: auto;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user