From 6889c880f4b2d5616af8758d91228bd9b236470c Mon Sep 17 00:00:00 2001 From: Joen A <1204802+jasmussen@users.noreply.github.com> Date: Fri, 23 Feb 2024 11:13:30 +0100 Subject: [PATCH] Fix tooltip font (#59307) * Fix tooltip font. * Update changelog. * Move changelog entry. --- packages/components/CHANGELOG.md | 4 ++++ packages/components/src/tooltip/style.scss | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index b37a6775079e8..d4dfaac153f01 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Bug Fix + +- `Tooltip`: Explicitly set system font to avoid CSS bleed ([#59307](https://github.com/WordPress/gutenberg/pull/59307)). + ## 27.0.0 (2024-02-21) ### Breaking Changes diff --git a/packages/components/src/tooltip/style.scss b/packages/components/src/tooltip/style.scss index c42249e529556..feda6cfa81c88 100644 --- a/packages/components/src/tooltip/style.scss +++ b/packages/components/src/tooltip/style.scss @@ -1,5 +1,6 @@ .components-tooltip { - background: $black; // TODO: Discuss with designers. + background: $black; + font-family: $default-font; border-radius: $radius-block-ui; color: $gray-100; text-align: center;