[wp-trac] [WordPress Trac] #47063: Text not vertically centered on site-health.php

WordPress Trac noreply at wordpress.org
Mon May 13 17:06:33 UTC 2019


#47063: Text not vertically centered on site-health.php
-------------------------------------------------+-------------------------
 Reporter:  Presskopp                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.2.1
Component:  Administration                       |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch site-      |     Focuses:  ui
  health needs-design-feedback                   |
-------------------------------------------------+-------------------------

Comment (by kjellr):

 👋 This ticket was discussed in the #design triage today.

 In general, the text here should definitely be visually centered in all
 cases. It'd be preferable to have the panels in both the Status and Info
 sections be the same height — stylistically these are mimicking the panels
 in Gutenberg, which have a minimum height of `46px` (I'm not sure why the
 ones with in the Status screen work out to `48px` here).

 Would it be possible to rely on `flexbox` to get all of the the interior
 elements centered vertically? At a glance, that seems like it'd be a
 simpler solution than trying to get this working with margin/padding.

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


More information about the wp-trac mailing list