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