forked from extern/egroupware
Fix left/right align CSS to work with out-of-order children
This commit is contained in:
parent
d22847a503
commit
6a70efcc34
@ -36,9 +36,11 @@ export class Et2Box extends Et2Widget(LitElement) implements et2_IDetachedDOM
|
|||||||
}
|
}
|
||||||
::slotted([align="left"]) {
|
::slotted([align="left"]) {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
order: -1;
|
||||||
}
|
}
|
||||||
::slotted([align="right"]) {
|
::slotted([align="right"]) {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
order: 1;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user