Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix aside affecting parent popover height (#11859)
loczekd3dfa91254f8
diff --git a/crates/ui/src/components/popover.rs b/crates/ui/src/components/popover.rsindex b9932eb401a..d71b9028d0f 100644--- a/crates/ui/src/components/popover.rs+++ b/crates/ui/src/components/popover.rs@@ -40,10 +40,14 @@ pub struct Popover {impl RenderOnce for Popover {fn render(self, cx: &mut WindowContext) -> impl IntoElement {- div()- .flex()+ h_flex()+ .items_start().gap_1()- .child(v_flex().elevation_2(cx).px_1().children(self.children))+ .child(+ div()+ .flex()+ .child(v_flex().elevation_2(cx).px_1().children(self.children)),+ ).when_some(self.aside, |this, aside| {this.child(v_flex()