Fix et2-vbox center alignment

This commit is contained in:
nathan 2023-04-11 11:58:12 -06:00
parent 05c2896de9
commit f8904ef126

View File

@ -153,11 +153,18 @@ export class Et2VBox extends Et2Box
:host > div {
flex-direction: column;
}
:host([align="center"]) > div {
align-items: center;
}
/* CSS for child elements */
::slotted(*) {
/* Stop children from growing vertically. In general we want them to stay their "normal" height */
flex-grow: 0;
}
`
];
}