From 6a70efcc3445864df5ef4c9b27d65d907a28474d Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 13 Sep 2021 11:57:23 -0600 Subject: [PATCH] Fix left/right align CSS to work with out-of-order children --- api/js/etemplate/Et2Box/Et2Box.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/js/etemplate/Et2Box/Et2Box.ts b/api/js/etemplate/Et2Box/Et2Box.ts index 8f9017fdca..97bcdaf18d 100644 --- a/api/js/etemplate/Et2Box/Et2Box.ts +++ b/api/js/etemplate/Et2Box/Et2Box.ts @@ -36,9 +36,11 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM } ::slotted([align="left"]) { margin-right: auto; + order: -1; } ::slotted([align="right"]) { margin-left: auto; + order: 1; } `, ];