In the `Attachment Details` section of the media modal, only add `box-shadow` to images. Other mime-type icons look strange with an arbitrary border.
Props avryl. Fixes #27949. Built from https://develop.svn.wordpress.org/trunk@28369 git-svn-id: http://core.svn.wordpress.org/trunk@28197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2bea9fcc0b
commit
558cf6f86d
|
@ -1390,7 +1390,7 @@
|
|||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.attachment-info .thumbnail:after {
|
||||
.attachment-info .thumbnail-image:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1390,7 +1390,7 @@
|
|||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.attachment-info .thumbnail:after {
|
||||
.attachment-info .thumbnail-image:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -285,7 +285,7 @@ function wp_print_media_templates() {
|
|||
</span>
|
||||
</h3>
|
||||
<div class="attachment-info">
|
||||
<div class="thumbnail">
|
||||
<div class="thumbnail thumbnail-{{ data.type }}">
|
||||
<# if ( data.uploading ) { #>
|
||||
<div class="media-progress-bar"><div></div></div>
|
||||
<# } else if ( 'image' === data.type ) { #>
|
||||
|
|
Loading…
Reference in New Issue