Make WordPress Core

Changeset 28369


Ignore:
Timestamp:
05/11/2014 06:18:02 AM (10 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.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r28169 r28369  
    13911391}
    13921392
    1393 .attachment-info .thumbnail:after {
     1393.attachment-info .thumbnail-image:after {
    13941394    content: '';
    13951395    display: block;
  • 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.