[wp-trac] [WordPress Trac] #61689: Admin menu: submenu link groups have less top padding than bottom padding

WordPress Trac noreply at wordpress.org
Wed Jan 29 05:54:31 UTC 2025


#61689: Admin menu: submenu link groups have less top padding than bottom padding
-------------------------------------------------+-------------------------
 Reporter:  trushaamin                           |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.8
Component:  Administration                       |     Version:  3.8
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch needs-design-feedback      |     Focuses:  ui, css
  has-screenshots                                |
-------------------------------------------------+-------------------------

Comment (by dhrumilk):

 Replying to [comment:11 karmatosed]:
 > My concern here is that we are changing something without considering
 the system padding and just going for a consistency. For example inputs
 and buttons in the work within the design system now are 6px 8px. This
 would be far more desirable to consider for menus than a change here
 perhaps.
 >
 > If I look at menus in the system Storybook I find they are now: 6px
 12px.
 >
 > For me, changing these right now doesn't seem right unless it would be
 more aligned with those menus:
 https://wordpress.github.io/gutenberg/?path=/docs/components-menugroup--
 docs&globals=css:wordpress
 >
 > I think my recommendation would be to either reduce to 6px or not do
 this. I get the need for equalization and suspect it was done before for
 visual and/or some browser workaround. Attaching what it looks like at
 6px.


 6px also looks good to me.

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


More information about the wp-trac mailing list