[wp-trac] [WordPress Trac] #46881: Site Health: improve the header elements horizontal centering

WordPress Trac noreply at wordpress.org
Mon May 13 19:21:52 UTC 2019


#46881: Site Health: improve the header elements horizontal centering
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.2.1
Component:  Administration                       |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots site-health needs-   |     Focuses:
  design-feedback                                |
-------------------------------------------------+-------------------------

Comment (by afercia):

 Just to clarify, the proposed CSS that uses `inline-grid` still makes the
 tabs have a variable width :) Both tabs will have the width of the largest
 one. This also automatically centers them horizontally.

 You can see this in the attached [attachment:"in browser editing.png"]
 there the two text strings have different width and the tabs width
 automatically adjust to the largest one. This is still "flexible" width
 and, at the same time, equal width.

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


More information about the wp-trac mailing list