[wp-trac] [WordPress Trac] #58383: Twenty Twenty One: Paragraph / Buttons block font weight inconsistency

WordPress Trac noreply at wordpress.org
Mon May 29 13:42:12 UTC 2023


#58383: Twenty Twenty One: Paragraph / Buttons block font weight inconsistency
-------------------------------------------------+-------------------------
 Reporter:  nkeller15                            |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.3
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch changes-   |     Focuses:  ui, css
  requested                                      |
-------------------------------------------------+-------------------------

Comment (by iamfarhan09):

 Hello,
 I have reviewed the issue and found that the CSS rule strong, b { font-
 weight: 600; } in the common.css file of the wp-admin directory is
 unnecessary since the strong element already has the font-weight: bold;
 style applied by the user agent stylesheet.

 I have created a patch (58383-common.css.diff) that removes the strong, b
 { font-weight: 600; } rule from common.css. This will help maintain
 consistency between the editor page and the front-end styles.

 Please review and test the patch to verify its effectiveness in resolving
 the font-weight inconsistency issue.

 Thank you.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58383#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list