[wp-trac] [WordPress Trac] #58335: WordPress Dashboard Collapse Menu Transition issue.

WordPress Trac noreply at wordpress.org
Wed May 17 21:56:50 UTC 2023


#58335: WordPress Dashboard Collapse Menu Transition issue.
----------------------------+------------------------------
 Reporter:  shuvo52         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  5.2
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, css
----------------------------+------------------------------
Changes (by sabernhardt):

 * focuses:  ui, accessibility, css => ui, css
 * component:  General => Administration
 * version:  trunk => 5.2


Comment:

 Thanks for the report!

 The icon dimensions have a discrepancy between the expanded and collapsed
 states. The expanded link's height increased by 0.2 pixels in [45186], and
 the width had a [https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/css/admin-menu.css?rev=54165#L317 1-pixel difference] before then.
 This is more noticeable on the About pages than any page where you would
 find an open submenu on the side (because expanding a submenu is a bigger
 difference).

 - When the menu is collapsed (or "folded"), the icon is in a 35px by 30px
 container within a 36px by 34px link.
 - When the text shows, the icon's container is 36px by 34px, and the text
 size makes the link 160px by 34.2px (14px times 1.3 `line-height` plus 8px
 padding on the top and bottom).

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


More information about the wp-trac mailing list