mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 04:20:01 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52263 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9f56ce822e
commit
72e36d0b86
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user