Media: Fix layout of media library modal on narrow screens.

Reduces the right margin of the media library modal on small and medium width screens to remove excess white-space. On very narrow screens this was preventing the media icons from displaying.

Props andraganescu, desrosj, joedolson, moch11, mukesh27, sabernhardt, SergeyBiryukov, zieladam.
Fixes #53679.

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


git-svn-id: http://core.svn.wordpress.org/trunk@51237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-08-18 05:37:57 +00:00
parent 80548a4039
commit c9bf6d13ef
5 changed files with 21 additions and 7 deletions

View File

@ -2618,7 +2618,9 @@
.attachments-browser .attachments, .attachments-browser .attachments,
.attachments-browser .uploader-inline, .attachments-browser .uploader-inline,
.attachments-browser .media-toolbar { .attachments-browser .media-toolbar,
.attachments-browser .attachments-wrapper,
.attachments-browser.has-load-more .attachments-wrapper {
left: 262px; left: 262px;
} }
@ -2885,10 +2887,15 @@
.attachments-browser .attachments, .attachments-browser .attachments,
.attachments-browser .uploader-inline, .attachments-browser .uploader-inline,
.attachments-browser .media-toolbar { .attachments-browser .media-toolbar,
.media-frame-content .attachments-browser .attachments-wrapper {
left: 0; left: 0;
} }
.attachments-browser .attachments-wrapper {
padding-top: 12px;
}
.image-details .media-frame-title { .image-details .media-frame-title {
display: block; display: block;
top: 0; top: 0;

File diff suppressed because one or more lines are too long

View File

@ -2617,7 +2617,9 @@
.attachments-browser .attachments, .attachments-browser .attachments,
.attachments-browser .uploader-inline, .attachments-browser .uploader-inline,
.attachments-browser .media-toolbar { .attachments-browser .media-toolbar,
.attachments-browser .attachments-wrapper,
.attachments-browser.has-load-more .attachments-wrapper {
right: 262px; right: 262px;
} }
@ -2884,10 +2886,15 @@
.attachments-browser .attachments, .attachments-browser .attachments,
.attachments-browser .uploader-inline, .attachments-browser .uploader-inline,
.attachments-browser .media-toolbar { .attachments-browser .media-toolbar,
.media-frame-content .attachments-browser .attachments-wrapper {
right: 0; right: 0;
} }
.attachments-browser .attachments-wrapper {
padding-top: 12px;
}
.image-details .media-frame-title { .image-details .media-frame-title {
display: block; display: block;
top: 0; top: 0;

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51630'; $wp_version = '5.9-alpha-51631';
/** /**
* 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.