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

WordPress Trac noreply at wordpress.org
Mon Jun 24 11:25:39 UTC 2019


#46881: Site Health: improve the header elements horizontal centering
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  afercia
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.2.2
Component:  Administration                       |     Version:  5.2
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots site-health has-     |     Focuses:
  design-feedback has-patch                      |
-------------------------------------------------+-------------------------

Comment (by afercia):

 @ramiy right. Your point is valid and was previously discussed. So far,
 there's no way to add tabs. When plugins will have the ability to add
 tabs, this part will need to be adjusted. One option is to print out via
 PHP additional CSS classes with the tabs count and provide a set of CSS
 rules to take that into account. Something similar to what the image
 galleries use.

 As said in a previous comment, I'm not aware of any other CSS method to
 horizontally center elements of unknown, flexible, width. If anyone knows
 better methods, they're very welcome. I'd suggest to not anticipate
 though, and take care of this only when there will be the ability to add
 more tabs in #47225.

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


More information about the wp-trac mailing list