The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles.
Props erayalakese for the JS patch. Fixes #28220. Built from https://develop.svn.wordpress.org/trunk@28830 git-svn-id: http://core.svn.wordpress.org/trunk@28634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -102,6 +102,7 @@
|
||||
display: block;
|
||||
line-height: 36px;
|
||||
float: right;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.media-item .describe-toggle-off,
|
||||
@@ -118,10 +119,7 @@
|
||||
min-height: 36px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#media-items {
|
||||
width: 623px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.media-new-php #media-items {
|
||||
@@ -143,7 +141,7 @@
|
||||
|
||||
.media-item .pinkynail {
|
||||
float: left;
|
||||
margin: 2px 10px 0 0;
|
||||
margin: 2px 10px 0 3px;
|
||||
max-width: 40px;
|
||||
max-height: 32px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user