Don't animate for small-dimension images

This commit is contained in:
Lim Chee Aun 2024-06-22 17:47:56 +08:00
parent 7fb4aad089
commit f4a4913889

View file

@ -1217,8 +1217,8 @@
}
}
}
.status .media img:is(:hover, :focus),
a:focus-visible .status .media img {
.status .media:not([data-has-small-dimension]) img:is(:hover, :focus),
a:focus-visible .status .media:not([data-has-small-dimension]) img {
animation: position-object 5s ease-in-out 1s 5;
animation-duration: var(--anim-duration, 5s);
}