Fix left/right align CSS to work with out-of-order children

This commit is contained in:
nathan 2021-09-13 11:57:23 -06:00
parent d22847a503
commit 6a70efcc34

View File

@ -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;
}
`,
];