Make WordPress Core


Ignore:
Timestamp:
05/11/2014 06:18:02 AM (8 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r28358 r28369  
    286286        </h3>
    287287        <div class="attachment-info">
    288             <div class="thumbnail">
     288            <div class="thumbnail thumbnail-{{ data.type }}">
    289289                <# if ( data.uploading ) { #>
    290290                    <div class="media-progress-bar"><div></div></div>
Note: See TracChangeset for help on using the changeset viewer.