Customizer: Add audio/video previews for upload controls.
props celloexpressions, Fab1en, wonderboymusic. fixes #30850. Built from https://develop.svn.wordpress.org/trunk@31661 git-svn-id: http://core.svn.wordpress.org/trunk@31642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -433,7 +433,7 @@ p.customize-section-description {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
padding: 5px 10px 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.customize-control .attachment-meta-title {
|
||||
@@ -448,6 +448,13 @@ p.customize-section-description {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#customize-controls .thumbnail-audio .thumbnail {
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
margin: 10px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#customize-preview iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
2
wp-admin/css/customize-controls-rtl.min.css
vendored
2
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -433,7 +433,7 @@ p.customize-section-description {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
padding: 5px 10px 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.customize-control .attachment-meta-title {
|
||||
@@ -448,6 +448,13 @@ p.customize-section-description {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#customize-controls .thumbnail-audio .thumbnail {
|
||||
max-width: 64px;
|
||||
max-height: 64px;
|
||||
margin: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#customize-preview iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user