From 0079771e34b3076505b378cd838ddd1c06307a9f Mon Sep 17 00:00:00 2001 From: Stanislav Alekseev <43210583+WeetHet@users.noreply.github.com> Date: Tue, 1 Apr 2025 15:14:33 +0300 Subject: [PATCH] Use symmetric padding in signature popovers (#27734) Release Notes: - Fixed padding issue with the signature popovers ------ Before: Screenshot 2025-03-29 at 20 30 39 After: Screenshot 2025-03-29 at 20 31 13 --- crates/editor/src/signature_help.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/signature_help.rs b/crates/editor/src/signature_help.rs index 949f90b0b9..8a2c33fb65 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()), ),