mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
Fix et2-vbox center alignment
This commit is contained in:
parent
05c2896de9
commit
f8904ef126
@ -153,11 +153,18 @@ export class Et2VBox extends Et2Box
|
|||||||
:host > div {
|
:host > div {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host([align="center"]) > div {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
/* CSS for child elements */
|
/* CSS for child elements */
|
||||||
|
|
||||||
::slotted(*) {
|
::slotted(*) {
|
||||||
/* Stop children from growing vertically. In general we want them to stay their "normal" height */
|
/* Stop children from growing vertically. In general we want them to stay their "normal" height */
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
`
|
`
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user