Eriku33 / Foundry-VTT-Image-Hover

Character art module for Foundry Virtual Table top
MIT License
7 stars 12 forks source link

Image shows up under Small Time #26

Closed JamzTheMan closed 2 years ago

JamzTheMan commented 2 years ago

Would it be possible to up the z-index for the image? Right now, if you have Small Time module open, it is on top of the image. I think it has a z-index of around 70 IIRC.

Vesselchuck commented 2 years ago

SmallTime has a z-index: 100 and his module cannot surpass that z-index no matter what. That's all because it is a child to div.hud which sets the maximum z-index: 70. So before anything, it would be better to make this module's parent body, similarly to SmallTime.

Vesselchuck commented 2 years ago

So if someone wants a quick fix here some CSS for you:

#smalltime-app {
    z-index: 69 !important;
}
Eriku33 commented 2 years ago

The module owner of Smalltime has kindly lowered the z-index of their UI. If you update their module (smalltime), this should fix the issue.