fancybox icon indicating copy to clipboard operation
fancybox copied to clipboard

Fixed height, scroll horizontally

Open Rylon opened this issue 5 years ago • 0 comments

Hi, is it possible to set a fixed height to something like 90% of the viewport, and have the image scale down accordingly, with scrollbars horizontally, for example to better show a zoomed panorama. I'm almost able to achieve this with an iframe type, if I set the href to the larger image, and then use web inspector to set object-fit: scale-down; height: 100%; directly to the IMG then it seems to work, but I'm not sure how to achieve this normally.

Thanks!

Rylon avatar Oct 22 '20 19:10 Rylon