diff --git a/src/components/images/style.css b/src/components/images/style.css index ef60f8b837..2b9422d55b 100644 --- a/src/components/images/style.css +++ b/src/components/images/style.css @@ -4,20 +4,10 @@ .cardImageContainer.lazy.lazy-image-fadein { opacity: 1; - transition: opacity 1s; + transition: opacity 0.7s; } .cardImageContainer.lazy.lazy-image-fadein-fast { opacity: 1; - transition: opacity 0.5s; -} - -@keyframes lazy-image-fadein { - from { - opacity: 0; - } - - to { - opacity: 1; - } + transition: opacity 0.2s; } diff --git a/src/components/lazyloader/lazyloader-intersectionobserver.js b/src/components/lazyloader/lazyloader-intersectionobserver.js index 4282587902..68f1b11cbc 100644 --- a/src/components/lazyloader/lazyloader-intersectionobserver.js +++ b/src/components/lazyloader/lazyloader-intersectionobserver.js @@ -31,7 +31,7 @@ }); } - destroyObserver(elements) { + destroyObserver() { const observer = this.observer; if (observer) { @@ -40,7 +40,7 @@ } } - destroy(elements) { + destroy() { this.destroyObserver(); this.options = null; }