Closed Oshcakes closed 1 year ago
This can easily be fixed by setting the style value of the .lightbox-image div in media-popout.html to
background-image: url('{{image}}'); background-repeat: no-repeat; background-size: contain;
@zeel01 I have a created a PR for this: https://github.com/zeel01/TokenHUDArtButton/pull/21
This can easily be fixed by setting the style value of the .lightbox-image div in media-popout.html to
background-image: url('{{image}}'); background-repeat: no-repeat; background-size: contain;
@zeel01 I have a created a PR for this: #21
Thanks, that worked for me!
This issue arises when using .webp It does not occur when using a .png file as near as I can determine.
If someone doesn't want to edit their files "Custom CSS" module allows you to set this rule as well. Just paste this in "Global CSS" form of that module:
.lightbox-image {
background-image: url('{{image}}'); background-repeat: no-repeat; background-size: contain;
}
I'm not sure @zeel01 is still accepting PRs for this module.
I think the issue here is that Foundry changed the way the popups are formatted/styled. In fact, the custom popup class might not even still be needed? I haven't had the opportunity to fully evaluate yet. But this issue should be resolved now.
Also does not fit window when shown.