mirror of
https://github.com/home-assistant/frontend.git
synced 2025-05-02 09:17:20 +00:00
Fix float-end for LTR (#12707)
This commit is contained in:
parent
ee0de942f7
commit
b37f97128a
@ -191,7 +191,10 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
||||
this.style.direction = direction;
|
||||
document.dir = direction;
|
||||
this.style.setProperty("--direction", direction);
|
||||
this.style.setProperty("--float-end", "left");
|
||||
this.style.setProperty(
|
||||
"--float-end",
|
||||
direction === "ltr" ? "right" : "left"
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user