Skip to content

Commit

Permalink
tooltip: Fix text line-height for Tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Oct 3, 2024
1 parent ca5a0e0 commit 1a73e01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/ui/src/tooltip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1a73e01

Please sign in to comment.