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.

Built from https://develop.svn.wordpress.org/trunk@57764


git-svn-id: http://core.svn.wordpress.org/trunk@57265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
antpb 2024-03-04 17:42:11 +00:00
parent ce1eb78275
commit 6e31cd8f9a
5 changed files with 11 additions and 3 deletions

View File

@ -455,6 +455,10 @@ border color while dragging a file over the uploader drop area */
position: relative; position: relative;
} }
.post-type-attachment .wp-filter select {
margin: 0 0 0 6px;
}
/** /**
* Media Library grid view * Media Library grid view
*/ */

File diff suppressed because one or more lines are too long

View File

@ -454,6 +454,10 @@ border color while dragging a file over the uploader drop area */
position: relative; position: relative;
} }
.post-type-attachment .wp-filter select {
margin: 0 6px 0 0;
}
/** /**
* Media Library grid view * Media Library grid view
*/ */

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-beta3-57763'; $wp_version = '6.5-beta3-57764';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.