diff --git a/crates/ui/src/components/popover.rs b/crates/ui/src/components/popover.rs index d71b9028d0fff67f2c84b25c3313e9abd8d0e5ed..b9932eb401a85d8d15010a65d4dacef7fd1f27e8 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()