[wp-trac] [WordPress Trac] #64588: Update message slightly uneven

WordPress Trac noreply at wordpress.org
Tue Feb 3 15:53:41 UTC 2026


#64588: Update message slightly uneven
-----------------------------+--------------------------------------
 Reporter:  Presskopp        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  trivial          |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui, css, administration
-----------------------------+--------------------------------------
Changes (by sabernhardt):

 * component:  Administration => Upgrade/Install
 * severity:  minor => trivial


Comment:

 The discrepancy on `update-core.php` is in the `line-height`, not the
 margin.
 - Paragraph `line-height` is `1.5`, or 19.5 pixels.
 - The button has a normal `line-height` from the default user agent
 stylesheet.
 - The icon inside the button has a `line-height` of `1`, equal to 20
 pixels.

 If the button inherits the `line-height`, that can move the triangle icon
 up one pixel (and reduce the space below the paragraph by one pixel).
 {{{
 .js-update-details-toggle {
     line-height: inherit;
 }
 }}}

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


More information about the wp-trac mailing list