Media: Fix CSS issue preventing inserting images on smaller viewports.

Addresses a regression introduced in [57605] where the “Select” button in the media modal was not clickable anymore due to an overlaid element.

Props ramonopoly, swissspidy, freewebmentor.
Fixes #33049.
Built from https://develop.svn.wordpress.org/trunk@57881


git-svn-id: http://core.svn.wordpress.org/trunk@57382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-03-26 09:39:11 +00:00
parent 8e5e7a3a11
commit d676def4a8
5 changed files with 9 additions and 9 deletions

View File

@ -2819,7 +2819,7 @@
.media-frame .wp-filter .media-toolbar-secondary { .media-frame .wp-filter .media-toolbar-secondary {
position: unset; position: unset;
} }
.media-frame .media-toolbar-secondary .spinner { .media-frame .media-toolbar-secondary .spinner {
position: absolute; position: absolute;
top: 0; top: 0;
@ -2829,13 +2829,13 @@
left: 0; left: 0;
z-index: 9; z-index: 9;
} }
.media-bg-overlay { .media-bg-overlay {
content: ''; content: '';
background: #ffffff; background: #ffffff;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: hidden; display: none;
position: absolute; position: absolute;
right: 0; right: 0;
left: 0; left: 0;

File diff suppressed because one or more lines are too long

View File

@ -2818,7 +2818,7 @@
.media-frame .wp-filter .media-toolbar-secondary { .media-frame .wp-filter .media-toolbar-secondary {
position: unset; position: unset;
} }
.media-frame .media-toolbar-secondary .spinner { .media-frame .media-toolbar-secondary .spinner {
position: absolute; position: absolute;
top: 0; top: 0;
@ -2828,13 +2828,13 @@
right: 0; right: 0;
z-index: 9; z-index: 9;
} }
.media-bg-overlay { .media-bg-overlay {
content: ''; content: '';
background: #ffffff; background: #ffffff;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: hidden; display: none;
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;

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.6-alpha-57878'; $wp_version = '6.6-alpha-57881';
/** /**
* 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.