aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdThumbnail.vue
diff options
context:
space:
mode:
authorpacien2021-07-04 17:35:17 +0200
committerpacien2021-07-04 17:35:17 +0200
commitd48a9eb9a75d8e55f78964e884bb94efd23fcd9b (patch)
tree6058cc246b6546ed57b3ac7821a6ae775caf1fd5 /viewer/src/components/LdThumbnail.vue
parent34fc1501f74f29d29737164e47977b7412c84ceb (diff)
parentdfa1c6e2f2977c32f75c1d93d9e7eb44fbed28c0 (diff)
downloadldgallery-d48a9eb9a75d8e55f78964e884bb94efd23fcd9b.tar.gz
Merge branch 'oz-css-modules' into develop
Reviewed-by: pacien <pacien.trangirard@pacien.net> GitHub: closes #306
Diffstat (limited to 'viewer/src/components/LdThumbnail.vue')
-rw-r--r--viewer/src/components/LdThumbnail.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue
index 3f67a43..4623b44 100644
--- a/viewer/src/components/LdThumbnail.vue
+++ b/viewer/src/components/LdThumbnail.vue
@@ -18,7 +18,7 @@
18--> 18-->
19 19
20<template> 20<template>
21 <div :class="{ preload: loading }"> 21 <div :class="{ [$style.preload]: loading }">
22 <v-lazy-image 22 <v-lazy-image
23 v-if="item.thumbnail" 23 v-if="item.thumbnail"
24 :src="pictureSrc(item.thumbnail.resource)" 24 :src="pictureSrc(item.thumbnail.resource)"
@@ -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="thumbnail-other flex-column flex-center"> 30 <div v-else class="flex-column flex-center" :class="$style.thumbnailOther">
31 <div> 31 <div>
32 <fa-icon :icon="icon" size="4x" /> 32 <fa-icon :icon="icon" size="4x" />
33 </div> 33 </div>
@@ -62,10 +62,10 @@ export default class LdThumbnail extends Vue {
62} 62}
63</script> 63</script>
64 64
65<style lang="scss"> 65<style lang="scss" module>
66@import "~@/assets/scss/theme.scss"; 66@import "~@/assets/scss/theme.scss";
67 67
68.thumbnail-other { 68.thumbnailOther {
69 width: $thumbnail-other-size; 69 width: $thumbnail-other-size;
70 height: $thumbnail-other-size; 70 height: $thumbnail-other-size;
71 padding-top: $body-line-height * 1em; 71 padding-top: $body-line-height * 1em;