mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-27 11:47:01 +03:00
Disable position-object animation when media modal appears
Got to say :has() is so darn useful
This commit is contained in:
parent
6c43ced27c
commit
e4d9e7f7db
1 changed files with 3 additions and 0 deletions
|
@ -422,6 +422,9 @@
|
||||||
.status .media img:hover {
|
.status .media img:hover {
|
||||||
animation: position-object 5s ease-in-out 1s 5;
|
animation: position-object 5s ease-in-out 1s 5;
|
||||||
}
|
}
|
||||||
|
body:has(#modal-container .carousel) .status .media img:hover {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
.status .media video {
|
.status .media video {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
Loading…
Reference in a new issue