mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 19:50:44 +01:00
Fix et2-vbox center alignment
This commit is contained in:
parent
978e858d8d
commit
85f9ef0c6f
@ -150,14 +150,21 @@ export class Et2VBox extends Et2Box
|
||||
return [
|
||||
...super.styles,
|
||||
css`
|
||||
:host > div {
|
||||
flex-direction: column;
|
||||
}
|
||||
/* CSS for child elements */
|
||||
::slotted(*) {
|
||||
/* Stop children from growing vertically. In general we want them to stay their "normal" height */
|
||||
flex-grow: 0;
|
||||
}
|
||||
: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;
|
||||
}
|
||||
|
||||
`
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user