Index: src/wp-includes/css/media-views.css
===================================================================
--- src/wp-includes/css/media-views.css	(revision 29377)
+++ src/wp-includes/css/media-views.css	(working copy)
@@ -1364,7 +1364,7 @@
 	padding: 0;
 	margin: 0;
 	-webkit-box-shadow: none;
-	box-shadow: none; 
+	box-shadow: none;
 }
 
 .media-selection .attachment .thumbnail {
@@ -2582,6 +2582,10 @@
 	margin: 0 10px 0 0;
 }
 
+.media-frame.mode-grid .attachments {
+	padding: 2px;
+}
+
 /**
  * Copied styles from the Add theme toolbar.
  *
