Opened 11 hours ago
Last modified 111 minutes ago
#66360 assigned defect (bug)
Mobile Admin Menu overlaps main content and #wpfooter text when open
| Reported by: | hameem1102 | Owned by: | hameem1102 |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | Administration | Version: | trunk |
| Severity: | normal | Keywords: | changes-requested |
| Cc: | Focuses: | css |
Description
Environment
WordPress Version: 7.2-beta1
Device / OS: iOS / Safari Mobile
Issue Description
When viewing the WordPress Admin dashboard on a mobile screen with the sidebar navigation menu expanded (.wp-responsive-open), the dark left sidebar (#adminmenuwrap) overlays directly on top of the main content area (#wpcontent) and footer (#wpfooter).
Specifically:
- Footer Text Truncation: The left side of the admin footer text (
#wpfooter) is covered and cut off by the dark sidebar background rather than shifting horizontally or being hidden. - Layout Overlap: The stacking context (
z-index) and responsive positioning cause the sidebar to obscure the content layer instead of pushing the content container or displaying a clean full-screen backdrop.
Steps to Reproduce
- Log into the WordPress Admin area on a mobile browser
- Tap the hamburger icon (
≡) in the top admin bar to open the responsive side menu. - Scroll down to the bottom of the page (e.g., Comments or Dashboard page).
- Observe the left alignment of the footer text under the dark menu background.
Expected Behavior
When the responsive mobile menu opens, #wpfooter and main content should either be offset (padding-left / margin-left), covered by a unified backdrop overlay, or hidden to prevent partially readable, truncated text.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is related to r63642 showing the footer on small screens now.
The main content area moves with a negative
rightpositioning:.wp-responsive-open #wpbody { right: -16em; }Assigning the same rule to
.wp-responsive-open #wpfooterdid not work for me, but I was able to achieve the positioning with a positiveleftvalue:.wp-responsive-open #wpfooter { left: 16em; }