diff --git a/crates/ui/src/popover.rs b/crates/ui/src/popover.rs index fe3f2540..b351a500 100644 --- a/crates/ui/src/popover.rs +++ b/crates/ui/src/popover.rs @@ -239,9 +239,11 @@ impl Element for Popover { .occlude() .when(!no_style, |this| this.popover_style(cx)) .map(|this| match anchor { - AnchorCorner::TopLeft | AnchorCorner::TopRight => this.top_2(), + AnchorCorner::TopLeft | AnchorCorner::TopRight => { + this.top_1p5() + } AnchorCorner::BottomLeft | AnchorCorner::BottomRight => { - this.bottom_2() + this.bottom_1p5() } }) .child(content_view.clone())