From 9a64bc43d9399c9a8c79f0395609387bf673a1f6 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 3 Oct 2024 18:01:56 +0800 Subject: [PATCH] tooltip: Fix Tooltip text line-height. (#304) image --- crates/ui/src/tooltip.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui/src/tooltip.rs b/crates/ui/src/tooltip.rs index 97569b73..7866a704 100644 --- a/crates/ui/src/tooltip.rs +++ b/crates/ui/src/tooltip.rs @@ -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)