mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user