[wp-trac] [WordPress Trac] #65152: UI: Inconsistent left padding between buttons and select dropdowns in media views

WordPress Trac noreply at wordpress.org
Wed Apr 29 19:13:53 UTC 2026


#65152: UI: Inconsistent left padding between buttons and select dropdowns in media
views
-------------------------------------+-----------------------------
 Reporter:  baikare.sandeep007       |      Owner:  (none)
     Type:  enhancement              |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Media                    |    Version:  trunk
 Severity:  normal                   |   Keywords:  has-patch
  Focuses:  ui, css, administration  |
-------------------------------------+-----------------------------
 In the media frame (e.g., when clicking "Add Media" in the editor), there
 is an inconsistency in the left padding between buttons (e.g., "Add Media
 File", "Bulk select") and the select dropdowns (e.g., "All media items",
 "All dates").

 Current padding values:

 - Buttons: `padding-left: 10px`
 - Select dropdowns: `padding-left: 8px`

 This creates a visually misaligned UI where the text inside dropdowns sits
 `2px` closer to the left edge compared to buttons.

 === Expected Behavior ===
 Both buttons and select dropdowns should have consistent left padding for
 better visual alignment.

 === Actual Behavior ===
 The select dropdown has `8px` left padding while buttons have `10px` left
 padding, causing text misalignment when these elements appear side by
 side.

 === Screenshots ===
 [[Image(https://postimg.cc/gallery/Cxrh1Nh)]]

 === Proposed Solution ===
 Update the left padding of the select dropdown in `media-views.css` from
 `8px` to `10px` to match the button padding.

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


More information about the wp-trac mailing list