From 1d31018c7db06e7e7a16ce3fe0b3870d618da9b3 Mon Sep 17 00:00:00 2001
From: fkaelberer <l_l@gmx-topmail.de>
Date: Tue, 30 Dec 2014 15:05:39 +0100
Subject: [PATCH] Make thumbnail CSS size independent of data-loaded tag

---
 web/viewer.css | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/web/viewer.css b/web/viewer.css
index 32ba1b692..98784a2f4 100644
--- a/web/viewer.css
+++ b/web/viewer.css
@@ -1115,9 +1115,13 @@ html[dir='rtl'] .verticalToolbarSeparator {
   margin-bottom: 10px;
 }
 
+#thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
+  margin-bottom: 9px;
+}
+
 .thumbnail:not([data-loaded]) {
   border: 1px dashed rgba(255, 255, 255, 0.5);
-  margin-bottom: 10px;
+  margin: -1px -1px 4px -1px;
 }
 
 .thumbnailImage {