mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 16:10:43 +01:00
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
This commit is contained in:
parent
bb37d755bb
commit
b56106b814
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user