Fixed article cover animation

This commit is contained in:
kvakazyambra 2024-05-19 01:26:07 +03:00
parent e4f7675606
commit 7e2f2d5192

View File

@ -113,7 +113,6 @@
padding-bottom: 56.2%; // 16:9 padding-bottom: 56.2%; // 16:9
position: relative; position: relative;
transform-origin: 50% 50%; transform-origin: 50% 50%;
transition: transform 1s ease-in-out;
&.loading { &.loading {
background: rgb(0 0 0 / 20%); background: rgb(0 0 0 / 20%);
@ -129,7 +128,7 @@
img, img,
.placeholderCoverImage { .placeholderCoverImage {
transform: scale(1); transform: scale(1);
transition: transform 0.3s; transition: transform 1s ease-in-out;
} }
} }