Opened 14 months ago
Last modified 14 months ago
#62181 new defect (bug)
WP Admin b,strong has fixed weight of 600
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | minor | Version: | 3.8 |
| Component: | Administration | Keywords: | |
| Focuses: | css | Cc: |
Description (last modified by )
I've noticed that the WordPress admin has a fixed weight of 600 for b and strong tags. If I have a heading that has a bold appearance and then bold some text in the heading it doesn't become visible because all the text is set to 600.
A simple solution would be to change the strong,b{font-weight:600;} in common.css to strong,b{font-weight:stronger;} and let the browser choose the bolder weight.
I can create a patch for this, but I wanted to check if there is a reason why there is a fixed weight of 600. Does anyone know why?
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi and thanks for the report!
The
font-weightof600was added forstrongandbelements in [26072], when the font was Open Sans.Also, CSS Coding Standards instruct to use numeric values for font weight.