Open tillilab opened 10 years ago
confirming, I have an image that's getting a style="max-height: 6000px;"
which is way too large
appending max-height: 100vh !important;
to img.mfp-img resolves this problem for me.
@JulianNorton Thank you for this, big help.
Yea, thx, but, close this issue if u want :)
Hi, thanks for your plugin, it's not an issue, it's just to notify you that I modified the image.verticalFit function to resize according to the window innerheight, I don't know why but it didn't take the correct height... it took the document height, so in a very long page the image max-height was to high.
thanks again