Opened 3 months ago
Closed 3 months ago
#64726 closed defect (bug) (fixed)
Misaligned dashicon for Add media menu in mobile viewport
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | has-screenshots admin-reskin has-patch commit |
| Focuses: | css | Cc: |
Description
The menu toggle when creating galleries or mixed-model content in the media modal has too much line-height on the icon.
Attachments (1)
Change History (6)
This ticket was mentioned in PR #11052 on WordPress/wordpress-develop by @joedolson.
3 months ago
#1
- Keywords has-patch added; needs-patch removed
@joedolson commented on PR #11052:
3 months ago
#2
#3
@
3 months ago
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11052
Environment
- WordPress: 7.0-beta1-61709-src
- PHP: 8.2.29
- Server: nginx/1.29.5
- Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.2.29)
- Browser: Chrome 145.0.0.0
- OS: macOS
- Theme: Twenty Eleven 5.0
- MU Plugins: None activated
- Plugins:
- Classic Editor 1.6.7
- Test Reports 1.2.1
Steps taken
- Resized viewport to mobile width (~375–480px).
- Opened Posts → Add New.
- Clicked Add Media.
- Observed dashicon alignment in the media modal menu before patch.
- Applied PR #11052.
- Re-tested in mobile viewport.
- ✅ Patch is solving the problem
Expected result
- Dashicon vertically centered in the toggle button.
- No extra line-height spacing.
- Proper alignment in mobile viewport.
Screenshots
| Before | After ✅ |
|
|
Note: See
TracTickets for help on using
tickets.


Fixes mobile viewport media menu alignment
Trac ticket: https://core.trac.wordpress.org/ticket/64726
## Use of AI Tools