From 4d585176d10cd0d8cbc9c8e91bb4396186effa9f Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Fri, 16 Nov 2012 09:39:58 +0000 Subject: [PATCH] Media: Only display "Drop files" text when the browser supports drag and drop. see #22446, #21390. git-svn-id: http://core.svn.wordpress.org/trunk@22609 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/css/media-views.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index 5619fb1e44..11af727355 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -742,11 +742,16 @@ } .uploader-inline h3 { + display: none; font-size: 20px; font-weight: 200; margin-bottom: 1.6em; } +.supports-drag-drop .uploader-inline h3 { + display: block; +} + .uploader-inline .media-progress-bar { display: none; }