1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Adjust animation speed and remove useless arguments

This commit is contained in:
MrTimscampi 2020-04-15 14:39:44 +02:00
parent e256e64e68
commit e0a71938ea
2 changed files with 4 additions and 14 deletions

View file

@ -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;
}

View file

@ -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;
}