[wp-trac] [WordPress Trac] #41317: Consistent submenu item spacing when count indicator is present

WordPress Trac noreply at wordpress.org
Sat Sep 9 16:42:36 UTC 2017


#41317: Consistent submenu item spacing when count indicator is present
-------------------------------------------------+-------------------------
 Reporter:  pauldechov                           |       Owner:  afercia
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.9
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-screenshots has-  |     Focuses:  ui
  patch                                          |
-------------------------------------------------+-------------------------
Changes (by afercia):

 * keywords:  good-first-bug has-screenshots has-patch needs-refresh =>
     good-first-bug has-screenshots has-patch


Comment:

 [attachment:41317.diff] uses the same line-height for the top level items
 and sub-items. Also:
 - removes the font weight bold for consistency with other counters
 - improves the "roundness" of the counters using the same style used for
 the counters in the List tables. For reference:

 [[Image(https://cldup.com/XpGTQir0qM.png)]]

 Screenshots with the alignments before (left) and after (right) in Chrome
 macOS:

 [[Image(https://cldup.com/i7REoRG6Tn.png)]]

 Also, changes the background red from `#d54e21` to `#ca4a1f` to make the
 color contrast ratio higher than the 4.5:1 required by the WCAG at level
 AA (note: this change is not visible in the screenshot above).

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


More information about the wp-trac mailing list