diff options
author | Zero~Informatique | 2020-04-27 15:41:51 +0200 |
---|---|---|
committer | Zero~Informatique | 2020-04-28 03:47:50 +0200 |
commit | 53bbb2b65e405aa93f1689faabce9cfa019e6d8f (patch) | |
tree | 1d4813f0bdf2faa8af6695b649dde7f925ea1f1f /viewer/src/components | |
parent | 490668d2b3444b51804804c1ea1bb8fd571f525b (diff) | |
download | ldgallery-53bbb2b65e405aa93f1689faabce9cfa019e6d8f.tar.gz |
viewer: moved the global thumbnail CSS class to its component
Diffstat (limited to 'viewer/src/components')
-rw-r--r-- | viewer/src/components/LdGallery.vue | 13 |
1 files changed, 11 insertions, 2 deletions
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 { | |||
42 | </script> | 42 | </script> |
43 | 43 | ||
44 | <style lang="scss"> | 44 | <style lang="scss"> |
45 | .thumbnail-tiles .noresult { | 45 | .thumbnail-tiles { |
46 | margin-top: 40px; | 46 | display: flex; |
47 | flex-wrap: wrap; | ||
48 | align-items: center; | ||
49 | justify-content: space-evenly; | ||
50 | & > a { | ||
51 | margin: 2px; | ||
52 | } | ||
53 | & .noresult { | ||
54 | margin-top: 40px; | ||
55 | } | ||
47 | } | 56 | } |
48 | </style> | 57 | </style> |