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:
parent
3f59b86ec5
commit
e1b341cc59
@ -1390,7 +1390,7 @@
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.attachment-info .thumbnail:after {
|
||||
.attachment-info .thumbnail-image:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
@ -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
Block a user