[wp-trac] [WordPress Trac] #59960: Replace em-based `line-height` with unitless values

WordPress Trac noreply at wordpress.org
Fri Nov 24 19:27:42 UTC 2023


#59960: Replace em-based `line-height` with unitless values
-------------------------------------+-------------------------------------
 Reporter:  sabernhardt              |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Administration           |    Version:
 Severity:  normal                   |   Keywords:  needs-patch good-first-
  Focuses:  css, administration,     |  bug
  coding-standards                   |
-------------------------------------+-------------------------------------
 Follow-up to #44643

 The default `line-height` of `1.4em` can cause issues, at least in the
 iframe-based editor. 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>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list