[OJS 3.1.2] Scaling figures/images in eLife Lens Article Viewer

I figured out a solution to this. Changing lens.css at line 300 to:

.content-node.figure div .image-wrapper img {
max-width: 100%;
max-height: 85vh; }

By setting max-width and max-height to 100% and 85% of the viewport respectively, it will scale the image down but not up.