[wp-trac] [WordPress Trac] #63559: Buttons on Edit Media screen have smaller height than other buttons

WordPress Trac noreply at wordpress.org
Fri Aug 15 17:57:49 UTC 2025


#63559: Buttons on Edit Media screen have smaller height than other buttons
-------------------------------------+-------------------------------------
 Reporter:  hbhalodia                |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.9
Component:  Media                    |     Version:  5.3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-           |     Focuses:  ui, css,
  screenshots commit                 |  administration
-------------------------------------+-------------------------------------
Changes (by joedolson):

 * keywords:  has-patch has-test-info has-screenshots changes-requested =>
     has-patch has-screenshots commit


Comment:

 I gave some thought to exploring the original intent in having these
 buttons not match the sizing on mobile that other buttons do. Looking at
 the code history, I think it was just overlooked when the controls were
 changed from `div` elements to `button` elements in 2015; the previous
 styles were simply copied over to the new button elements without applying
 global styling for buttons.

 As such, in my opinion the larger buttons on mobile is more in keeping
 with the intentions of the mobile viewport for WordPress and this should
 be committed with this change.

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


More information about the wp-trac mailing list