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
This commit is contained in:
Danilo Leal 2024-08-14 09:48:48 -03:00 committed by GitHub
parent e28681c27e
commit 55563831c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()