jsor / lity

Lightweight, accessible and responsive lightbox.
https://sorgalla.com/lity/
MIT License
1.16k stars 196 forks source link

adjust the height of the lightbox? #239

Open bullishbil opened 4 years ago

bullishbil commented 4 years ago

Hi, I am trying to use Lity to show a content of a site/URL. Is there a way to adjust the height of the initial lightbox to a specific height OR auto adjust the initial lightbox height to show the entire page (so no need to scroll?

Any tips/solutions for this is greatly appreciated. Thanks!

naton commented 4 years ago

Yes, you'll need to override .lity-iframe-container with another height.