WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/31/2012 08:34:50 PM (9 years ago)
Author:
koopersmith
Message:

Fix positioning of attachment thumbnail overlays.

Prevents the overlay from blocking buttons inside the attachment preview, such as the remove button in the gallery editor.

see #21390.

File:
1 edited

Legend:

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

    r22340 r22343  
    13281328            <% } else if ( 'image' === type ) { %>
    13291329                <div class="thumbnail">
    1330                     <img src="<%- url %>" draggable="false" />
     1330                    <div class="centered">
     1331                        <img src="<%- url %>" draggable="false" />
     1332                    </div>
    13311333                </div>
    13321334            <% } else { %>
Note: See TracChangeset for help on using the changeset viewer.