Disable position-object animation when media modal appears

Got to say :has() is so darn useful
This commit is contained in:
Lim Chee Aun 2023-02-11 23:46:33 +08:00
parent 6c43ced27c
commit e4d9e7f7db

View file

@ -422,6 +422,9 @@
.status .media img:hover {
animation: position-object 5s ease-in-out 1s 5;
}
body:has(#modal-container .carousel) .status .media img:hover {
animation: none;
}
.status .media video {
width: 100%;
height: 100%;