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.

Use symmetric padding in signature popovers (#27734)

Stanislav Alekseev0079771e34b3
diff --git a/crates/editor/src/signature_help.rs b/crates/editor/src/signature_help.rs
index 949f90b0b97..8a2c33fb65c 100644
--- a/crates/editor/src/signature_help.rs
+++ b/crates/editor/src/signature_help.rs
@@ -308,7 +308,7 @@ impl SignatureHelpPopover {
.on_mouse_move(|_, _, cx| cx.stop_propagation())
.on_mouse_down(MouseButton::Left, |_, _, cx| cx.stop_propagation())
.child(
- div().px_4().pb_1().child(
+ div().px_2().py_0p5().child(
StyledText::new(self.label.clone())
.with_default_highlights(&self.style, self.highlights.iter().cloned()),
),