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.


git-svn-id: https://develop.svn.wordpress.org/trunk@22343 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-10-31 20:34:50 +00:00
parent 90888aaebd
commit 80cd7ad468
2 changed files with 18 additions and 11 deletions
+3 -1
View File
@@ -1327,7 +1327,9 @@ function wp_print_media_templates( $attachment ) {
<div class="media-progress-bar"><div></div></div>
<% } else if ( 'image' === type ) { %>
<div class="thumbnail">
<img src="<%- url %>" draggable="false" />
<div class="centered">
<img src="<%- url %>" draggable="false" />
</div>
</div>
<% } else { %>
<img src="<%- icon %>" class="icon" draggable="false" />