tooltip: Fix Tooltip text line-height. (#304)
<img width="247" alt="image" src="https://github.com/user-attachments/assets/483d6fed-2494-432a-81c3-59a2c220df9d">
This commit is contained in:
parent
ca5a0e02d5
commit
9a64bc43d9
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ impl Render for Tooltip {
|
|||
div().child(
|
||||
// Wrap in a child, to ensure the left margin is applied to the tooltip
|
||||
div()
|
||||
.font_family(".SystemUIFont")
|
||||
.m_3()
|
||||
.bg(cx.theme().popover)
|
||||
.text_color(cx.theme().popover_foreground)
|
||||
|
|
|
|||
Loading…
Reference in a new issue