[wp-trac] [WordPress Trac] #58335: WordPress Dashboard Collapse Menu Transition issue.
WordPress Trac
noreply at wordpress.org
Sun Jul 6 20:13:54 UTC 2025
#58335: WordPress Dashboard Collapse Menu Transition issue.
---------------------------------------+------------------------------
Reporter: shuvo52 | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Administration | Version: 5.2
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: ui, css
---------------------------------------+------------------------------
Changes (by pattihis):
* keywords: needs-patch has-screenshots => has-screenshots has-patch
Comment:
Summary of
[https://core.trac.wordpress.org/attachment/ticket/58335/58335.diff patch]
added:
{{{
wp-admin/css/admin-menu.css
}}}
1. Lines 237-238: Added `box-sizing: border-box;` and `height: 34px;` to
the `#adminmenu a.menu-top, #adminmenu .wp-submenu-head` selector to fix
the 0.2px issue
2. Lines 322-323: Updated `.folded #adminmenu div.wp-menu-image` from
`width: 35px; height: 30px;` to
`width: 36px; height: 34px;` to maintain consistency
This patch addresses the core issue in ticket #58335 by:
- Standardizing menu item heights to exactly 34px in both collapsed and
expanded states
- Eliminating the visual "jump" during menu transitions
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58335#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list