From 80adc0b5f74297f4a225e9a82b31c2cdb8328409 Mon Sep 17 00:00:00 2001 From: Anthony Burchell Date: Mon, 4 Mar 2024 17:40:06 +0000 Subject: [PATCH] Media: Use consistent spacing for the media toolbar in both grid and 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 --- src/wp-admin/css/media.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index 4463ae373d32a..18ba835b20205 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -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 */