[wp-trac] [WordPress Trac] #46940: Site Health: Pseudo dashicons for list should be vertically centered

WordPress Trac noreply at wordpress.org
Tue Apr 16 19:27:30 UTC 2019


#46940: Site Health: Pseudo dashicons for list should be vertically centered
---------------------------------------+---------------------------------
 Reporter:  chetan200891               |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Administration             |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, administration
---------------------------------------+---------------------------------
Changes (by desrosj):

 * keywords:  has-patch has-screenshots needs-design-feedback => has-patch
     has-screenshots


Comment:

 @chetan200891 Looking at the Dashicons CSS file in core, it looks like the
 icons are assigned `vertical-align: top` there. Attaching a screenshot of
 all the icons aligned top for comparison.

 Also, it may be worth exploring using actual Dashicon classes in addition
 to `.fail`, `.info`, etc. classes. There is also a lot of repetition
 within these CSS definitions. The `display`, `vertical-align` and `font-
 family` properties can be consolidated.

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


More information about the wp-trac mailing list