diff --git a/api/js/etemplate/Layout/Et2Box/Et2Box.ts b/api/js/etemplate/Layout/Et2Box/Et2Box.ts index 2074186a92..e14db85e16 100644 --- a/api/js/etemplate/Layout/Et2Box/Et2Box.ts +++ b/api/js/etemplate/Layout/Et2Box/Et2Box.ts @@ -37,6 +37,9 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM :host([align="left"]) > div { justify-content: flex-start; } + :host([align="center"]) > div { + justify-content: center; + } /* CSS for child elements */ ::slotted(*) { flex: 1 1 auto;