Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

assistant: Adjust slash command popover padding (#16181)

Danilo Leal55563831c5d2
diff --git a/crates/ui/src/components/popover.rs b/crates/ui/src/components/popover.rs
index b9932eb401a..69648297dcb 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()