Media: Ensure media preview is fully viewable in the "Add Media" modal.

This change ensures the media preview is not cut off in the "Add Media" modal box, when using the "Insert from URL" feature.

Props siliconforks, sabernhardt, mukesh27, ankit-k-gupta.
Fixes #53636.

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


git-svn-id: http://core.svn.wordpress.org/trunk@51855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2021-11-28 23:11:02 +00:00
parent dc853cb0e9
commit c9527eea2e
5 changed files with 13 additions and 5 deletions

View File

@ -2115,7 +2115,7 @@
.embed-link-settings,
.embed-media-settings {
position: absolute;
top: 70px;
top: 82px;
right: 0;
left: 0;
bottom: 0;
@ -2123,6 +2123,10 @@
overflow: auto;
}
.media-embed .embed-link-settings .link-text {
margin-top: 0;
}
/*
* Implementation of bottom padding in overflow content differs across browsers.
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129

File diff suppressed because one or more lines are too long

View File

@ -2114,7 +2114,7 @@
.embed-link-settings,
.embed-media-settings {
position: absolute;
top: 70px;
top: 82px;
left: 0;
right: 0;
bottom: 0;
@ -2122,6 +2122,10 @@
overflow: auto;
}
.media-embed .embed-link-settings .link-text {
margin-top: 0;
}
/*
* Implementation of bottom padding in overflow content differs across browsers.
* We need a different method. See https://github.com/w3c/csswg-drafts/issues/129

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-52262';
$wp_version = '5.9-alpha-52263';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.