From 73e2dc5b39a5cd12c52b99ee076c1a1ad86a2ace Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sun, 2 Feb 2020 19:29:12 +0100 Subject: viewer: implemented thumbnail size usage --- viewer/src/assets/scss/global.scss | 1 + viewer/src/components/LdThumbnail.vue | 24 ++++++++++-------------- 2 files changed, 11 insertions(+), 14 deletions(-) (limited to 'viewer/src') diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss index 5de5946..1a5761e 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss @@ -97,6 +97,7 @@ img { // === Effect to apply on lazy-image loading img { + display: block; &.v-lazy-image { opacity: 0; transition: opacity 0.4s; diff --git a/viewer/src/components/LdThumbnail.vue b/viewer/src/components/LdThumbnail.vue index d9343dd..d5c0b3c 100644 --- a/viewer/src/components/LdThumbnail.vue +++ b/viewer/src/components/LdThumbnail.vue @@ -18,12 +18,12 @@ -->