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.



git-svn-id: https://develop.svn.wordpress.org/trunk@28369 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-11 06:18:02 +00:00
parent 3f59b86ec5
commit e1b341cc59
2 changed files with 2 additions and 2 deletions

View File

@ -1390,7 +1390,7 @@
margin-top: 35px;
}
.attachment-info .thumbnail:after {
.attachment-info .thumbnail-image:after {
content: '';
display: block;
position: absolute;

View File

@ -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 ) { #>