Add note about CSS hack

This commit is contained in:
Marshall Bowers 2023-10-09 13:39:08 -04:00
parent f73708d725
commit 8b3a357949

View file

@ -135,6 +135,8 @@ impl<S: 'static + Send + Sync + Clone> WorkspaceElement<S> {
.flex_1()
// CSS Hack: Flex 1 has to have a set height to properly fill the space
// Or it will give you a height of 0
// Marshall: We may not need this anymore with `gpui3`. It seems to render
// fine without it.
.h_px()
.child(root_group),
)