From b56106b8149b332805c158db9339c7b9ff4e1fb7 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 5 Oct 2022 14:07:35 +0000 Subject: [PATCH] General: Add a default `font-style` value for Adminbar links. If a theme includes a `theme.json` file and sets a specific `font-style` on links, the font-style also changes the links in the WordPress admin bar, when the admin bar is visible on front-end. For example, this happens with the `pitch` style variation of Twenty Twenty-Three. Using a default value for the `font-style` property prevents `theme.json` files from overriding it. Props audrasjb, poena. Fixes #56737. git-svn-id: https://develop.svn.wordpress.org/trunk@54395 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/admin-bar.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 32b952082a..062517fac7 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -15,6 +15,7 @@ html { font-size: 13px; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-style: normal; line-height: 2.46153846; border-radius: 0; box-sizing: content-box;