diff options
author | Zero~Informatique | 2020-02-11 02:06:49 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-11 02:06:49 +0100 |
commit | abcd10f8ac944f29a77d756558b1773551ee0877 (patch) | |
tree | 99a367d511600093a3959498b092cc1425d7840f /viewer/src/components | |
parent | 6a97f1291fb9ed690f143670aa963693edb9fa8a (diff) | |
download | ldgallery-abcd10f8ac944f29a77d756558b1773551ee0877.tar.gz |
viewer: thumbnail others fixed sizes for better layout
Diffstat (limited to 'viewer/src/components')
-rw-r--r-- | viewer/src/components/LdThumbnail.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue index d5c0b3c..17c7659 100644 --- a/viewer/src/components/LdThumbnail.vue +++ b/viewer/src/components/LdThumbnail.vue | |||
@@ -27,7 +27,7 @@ | |||
27 | @intersect="loading=true" | 27 | @intersect="loading=true" |
28 | @load="loading=false" | 28 | @load="loading=false" |
29 | /> | 29 | /> |
30 | <div v-else class="flex-column flex-center"> | 30 | <div v-else class="thumbnail-other flex-column flex-center"> |
31 | <fa-icon :icon="getIcon()" size="4x" /> | 31 | <fa-icon :icon="getIcon()" size="4x" /> |
32 | {{item.title}} | 32 | {{item.title}} |
33 | </div> | 33 | </div> |
@@ -63,6 +63,12 @@ export default class LdThumbnail extends Vue { | |||
63 | <style lang="scss"> | 63 | <style lang="scss"> |
64 | @import "@/assets/scss/theme.scss"; | 64 | @import "@/assets/scss/theme.scss"; |
65 | 65 | ||
66 | .thumbnail-other { | ||
67 | width: $thumbnail-other-size; | ||
68 | height: $thumbnail-other-size; | ||
69 | text-align: center; | ||
70 | } | ||
71 | |||
66 | .preload { | 72 | .preload { |
67 | animation: preloadAnimation 1s infinite ease-in-out alternate; | 73 | animation: preloadAnimation 1s infinite ease-in-out alternate; |
68 | } | 74 | } |