[wp-trac] [WordPress Trac] #64726: Misaligned dashicon for Add media menu in mobile viewport

WordPress Trac noreply at wordpress.org
Wed Feb 25 23:50:24 UTC 2026


#64726: Misaligned dashicon for Add media menu in mobile viewport
----------------------------------------------------+---------------------
 Reporter:  joedolson                               |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  7.0
Component:  Media                                   |     Version:
 Severity:  normal                                  |  Resolution:
 Keywords:  has-screenshots admin-reskin has-patch  |     Focuses:  css
----------------------------------------------------+---------------------

Comment (by huzaifaalmesbah):

 == 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
 1. Resized viewport to mobile width (~375–480px).
 2. Opened Posts → Add New.
 3. Clicked **Add Media**.
 4. Observed dashicon alignment in the media modal menu before patch.
 5. Applied [https://github.com/WordPress/wordpress-develop/pull/11052 PR
 #11052].
 6. Re-tested in mobile viewport.
 7. ✅ 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 ✅ ||
 || [[Image(https://i.ibb.co/W4tKP9x1/Huzaifa-20260226054426.png)]] ||
 [[Image(https://i.ibb.co/8nDd59Zb/Huzaifa-20260226054537.png)]] ||

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


More information about the wp-trac mailing list