[wp-trac] [WordPress Trac] #63559: Edit Media: Buttons on edit media screen have samll height which are not consitent with other buttons

WordPress Trac noreply at wordpress.org
Thu Jun 12 06:26:31 UTC 2025


#63559: Edit Media: Buttons on edit media screen have samll height which are not
consitent with other buttons
-------------------------------------+-----------------------------
 Reporter:  hbhalodia                |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Media                    |    Version:  trunk
 Severity:  normal                   |   Keywords:
  Focuses:  ui, css, administration  |
-------------------------------------+-----------------------------
 - On Edit media screen, we have some buttons which are used to update the
 media, may be crop, rotate etc, for which the buttons sizes are not
 consistent are less than other buttons across the admin site.
 - Button such as, Crop, Scale, rotation have `28px` height, while the
 button across site have `30px`, which looks odd.
 - When we try to add the crop, we see 2 buttons in line, `Apply Crop` and
 `Clear Crop`, which actually identifies this issue, as both buttons are
 not aligned and `Clear crop` button is actually a `2px` small, which
 should not be.
 - CSS which adds this is actually added here, https://github.com/WordPress
 /wordpress-develop/blob/eeb8fbf81bfc3fe83efd9bc327ac5015211b76b7/src/wp-
 admin/css/media.css#L974-L980, On changing to `30px`, actually resolves
 the issue.

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


More information about the wp-trac mailing list