From e1b341cc59993f88e8f559a769685b2eb1d1344a Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 11 May 2014 06:18:02 +0000 Subject: [PATCH] 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 --- src/wp-includes/css/media-views.css | 2 +- src/wp-includes/media-template.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css index 64893d290b..8cb499e13a 100644 --- a/src/wp-includes/css/media-views.css +++ b/src/wp-includes/css/media-views.css @@ -1390,7 +1390,7 @@ margin-top: 35px; } -.attachment-info .thumbnail:after { +.attachment-info .thumbnail-image:after { content: ''; display: block; position: absolute; diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index f89e32d81c..5418a0a025 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -285,7 +285,7 @@ function wp_print_media_templates() {
-
+
<# if ( data.uploading ) { #>
<# } else if ( 'image' === data.type ) { #>