[wp-trac] [WordPress Trac] #59960: Replace em-based `line-height` with unitless values
WordPress Trac
noreply at wordpress.org
Sat Oct 19 10:38:13 UTC 2024
#59960: Replace em-based `line-height` with unitless values
-------------------------------------+-------------------------------------
Reporter: sabernhardt | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has- | Focuses: css, administration,
patch needs-testing | coding-standards
-------------------------------------+-------------------------------------
Comment (by raselkhancse):
Replying to [ticket:59960 sabernhardt]:
> Follow-up to #44643
>
> The default `line-height` of `1.4em` can cause issues, at least when
elements have a larger font size than their container. Other instances
probably could be unitless too (while keeping their numeric value).
>
> {{{
> body {
> line-height: 1.4;
> }
> }}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59960#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list