From 8b3a357949db52c6b9fcd87c6ac3894a055b363b Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 9 Oct 2023 13:39:08 -0400 Subject: [PATCH] Add note about CSS hack --- crates/ui2/src/components/workspace.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui2/src/components/workspace.rs b/crates/ui2/src/components/workspace.rs index 4b20aa165e5f5cf5fdea90839d1b592a10550c79..c40491d4b61ad4f79b857d8e7559d75dee7513da 100644 --- a/crates/ui2/src/components/workspace.rs +++ b/crates/ui2/src/components/workspace.rs @@ -135,6 +135,8 @@ impl WorkspaceElement { .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), )