Skip to content

Commit

Permalink
Media: Use consistent spacing for the media toolbar in both grid and …
Browse files Browse the repository at this point in the history
…list view.

Previously, the spacing between media toolbar elements in grid and list view did not match. We now use the same select margin across both views.

Props desrosj, seusmaniqbal, ianbelanger, subrataemfluence, sabernhardt, pooja1210, sumitbagthariya16, shailu25, devmuhib, huzaifaalmesbah, audrasjb.
Fixes #43904.


git-svn-id: https://develop.svn.wordpress.org/trunk@57764 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
antpb committed Mar 4, 2024
1 parent 787601d commit 80adc0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wp-admin/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,10 @@ border color while dragging a file over the uploader drop area */
position: relative;
}

.post-type-attachment .wp-filter select {
margin: 0 6px 0 0;
}

/**
* Media Library grid view
*/
Expand Down

0 comments on commit 80adc0b

Please sign in to comment.