diff --git a/reviewboard/static/rb/css/reviews.less b/reviewboard/static/rb/css/reviews.less
index 2bfb0b3f6ce173181a7d2e90a8dd408ea2aebb21..f2c5e029df9b4134eea1f1a71fcf3ad1a821125a 100644
--- a/reviewboard/static/rb/css/reviews.less
+++ b/reviewboard/static/rb/css/reviews.less
@@ -1423,6 +1423,15 @@
           outline: 0;
         }
 
+        /*
+         * The box shadow doesn't display correctly in file attachment
+         * thumbnails, so hide it. There will be a red background instead.
+         */
+        &:not(:focus) {
+          background: rgba(255, 0, 0, 0.15);
+          .box-shadow(none);
+        }
+
         &::-ms-clear {
           display: none;
         }
