diff --git a/crates/ui/src/components/popover.rs b/crates/ui/src/components/popover.rs index b9932eb401..69648297dc 100644 --- a/crates/ui/src/components/popover.rs +++ b/crates/ui/src/components/popover.rs @@ -43,7 +43,7 @@ impl RenderOnce for Popover { div() .flex() .gap_1() - .child(v_flex().elevation_2(cx).px_1().children(self.children)) + .child(v_flex().elevation_2(cx).py_1().children(self.children)) .when_some(self.aside, |this, aside| { this.child( v_flex()