Closed qianyuanzhu closed 5 years ago
Lightbox has this.fitImagesInViewport = true;
so it limits the size to window.innerWidth*window.innerHeight by default. I simplely deleted my customized "window.innerWidth" and "window.innerHeight" variables.
TODO: Is this responsive, are there any problems before merging? Also need to fix the merge conflict.
Thanks for the PR, this is just great now.
full screen (1092*400):
smaller viewport (the same width as viewport):
fix #7