[wp-trac] [WordPress Trac] #32747: WP Admin Menus/SubMenus Overlap in small screen
WordPress Trac
noreply at wordpress.org
Tue Sep 27 01:13:11 UTC 2022
#32747: WP Admin Menus/SubMenus Overlap in small screen
-------------------------------------+-------------------------------------
Reporter: turtlepod | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Administration | Version: 4.2.2
Severity: normal | Resolution:
Keywords: has-patch changes- | Focuses: ui, accessibility,
requested has-testing-info | javascript
-------------------------------------+-------------------------------------
Comment (by sabernhardt):
Checking whether the menu toggle button is showing seems to work in the
odd cases:
{{{
if ( adjustment > 1 && $('#wp-admin-bar-menu-toggle').is(':hidden') ) {
$submenu.css( 'margin-top', '-' + adjustment + 'px' );
} else {
$submenu.css( 'margin-top', '' );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32747#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list