Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

width:100% inline style distorts image in short viewports #61

Closed
jsit opened this issue Jul 29, 2016 · 1 comment
Closed

width:100% inline style distorts image in short viewports #61

jsit opened this issue Jul 29, 2016 · 1 comment

Comments

@jsit
Copy link

jsit commented Jul 29, 2016

Open a Modaal slideshow, then shrink the vertical size of the browser so that it's shorter than the height of the image.

The image will be "squished" vertically.

'<img src="' + gallery[i].url + '" alt=" " style="width:100%">' +

acce911

@jsit
Copy link
Author

jsit commented Jul 29, 2016

My mistake, this was due to some styles I had added.

@jsit jsit closed this as completed Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant