From 53bbb2b65e405aa93f1689faabce9cfa019e6d8f Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Mon, 27 Apr 2020 15:41:51 +0200
Subject: viewer: moved the global thumbnail CSS class to its component

---
 viewer/src/components/LdGallery.vue | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

(limited to 'viewer/src/components/LdGallery.vue')

diff --git a/viewer/src/components/LdGallery.vue b/viewer/src/components/LdGallery.vue
index cd4bc28..29c18b9 100644
--- a/viewer/src/components/LdGallery.vue
+++ b/viewer/src/components/LdGallery.vue
@@ -42,7 +42,16 @@ export default class LdPicture extends Vue {
 </script>
 
 <style lang="scss">
-.thumbnail-tiles .noresult {
-  margin-top: 40px;
+.thumbnail-tiles {
+  display: flex;
+  flex-wrap: wrap;
+  align-items: center;
+  justify-content: space-evenly;
+  & > a {
+    margin: 2px;
+  }
+  & .noresult {
+    margin-top: 40px;
+  }
 }
 </style>
-- 
cgit v1.2.3

