[wp-trac] [WordPress Trac] #51127: Remove non-color related styling from Modern color scheme

WordPress Trac noreply at wordpress.org
Mon Aug 24 21:46:47 UTC 2020


#51127: Remove non-color related styling from Modern color scheme
----------------------------+-----------------------------
 Reporter:  johnbillion     |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.5
 Severity:  normal          |   Keywords:  2nd-opinion
  Focuses:  ui, css         |
----------------------------+-----------------------------
 The `Modern` color scheme was introduced in #50504. In addition to its
 colors, it adds styling that increases the bottom padding on admin menu
 items.

 This was pointed out in [comment:32:ticket:50504].

 No explanation for the padding was included in the change, so unless there
 is a good reason for it then it should be removed. Colour schemes should
 only affect colours otherwise we risk diverging from a consistent and
 predictable layout, especially if core CSS rules subsequently change.

 cc @Joen - do you have any information about this increased admin menu
 padding?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51127>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list