diff --git a/api/js/etemplate/Et2Box/Et2Box.ts b/api/js/etemplate/Et2Box/Et2Box.ts index 978efd98c0..da63b12018 100644 --- a/api/js/etemplate/Et2Box/Et2Box.ts +++ b/api/js/etemplate/Et2Box/Et2Box.ts @@ -30,6 +30,12 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM align-items: stretch; gap: 5px; } + :host([align="right"]) > div { + justify-content: flex-end; + } + :host([align="left"]) > div { + justify-content: flex-start; + } /* CSS for child elements */ ::slotted(*) { flex: 1 0 auto;