Use symmetric padding in signature popovers (#27734)
Release Notes: - Fixed padding issue with the signature popovers ------ Before: <img width="372" alt="Screenshot 2025-03-29 at 20 30 39" src="https://github.com/user-attachments/assets/36d1555d-bccb-4fca-b6ad-514cf11d024f" /> After: <img width="375" alt="Screenshot 2025-03-29 at 20 31 13" src="https://github.com/user-attachments/assets/6566d0e9-9dae-47dc-bfa0-526bf35f3cf0" />
This commit is contained in:
parent
d1db6d6782
commit
0079771e34
1 changed files with 1 additions and 1 deletions
|
@ -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()),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue