foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
299 stars 206 forks source link

Cannot edit portrait art if previous file path is unavailable #3863

Closed Nikkie1110 closed 1 month ago

Nikkie1110 commented 1 month ago

When a token has artwork or a token image that cannot be found, the AC / Health bar will move up and overlap the image area, preventing the ability to change the art location. Perhaps a buffer area above the AC / HP bar can be added to give a bit of space and allow for changing art / settings. image

Rabulias commented 1 month ago

I guess it should default to the "mystery man" again?

kaelad02 commented 1 month ago

It's strange. The CSS looks fine but clearly doesn't work. There's an explicit height and width that's not really working. Should be 180x180 and it's more like 49x16.

Using the dev tools, I put a min-height and min-width there and it fixes the issue. I'm not 100% sure that's the right fix or not, meaning it works but is it really covering something up rather than fixing an underlying issue?