From 55563831c5d23ab07d15afe050372dfa2690f197 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Wed, 14 Aug 2024 09:48:48 -0300 Subject: [PATCH] assistant: Adjust slash command popover padding (#16181) I've looked for other instances of the popover component where this change could cause a spacing regression but couldn't find any yet. Let me know if you do! Intuitively, I wouldn't change this padding directly on the component container, but I didn't find any other way to tackle it. Release Notes: - N/A --- crates/ui/src/components/popover.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()