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

Explicitly define height as auto #36

Merged
merged 1 commit into from Jan 10, 2016

Conversation

Projects
None yet
2 participants
@JmzTaylor
Contributor

JmzTaylor commented Jan 9, 2016

While using only width at 100% it stretches all imgs in the post to width
of parent div. But doesn't maintain aspect ratio. This corrects this
issue. Regardless, setting width to 100% makes img tags width/height be
ignored.

James Taylor
Explicitly define height as auto
While using only width at 100% it stretches all imgs in the post to width
of parent div.  But doesn't maintain aspect ratio.  This corrects this
issue.  Regardless, setting width to 100% makes img tags width/height be
ignored.

@oscarmcm oscarmcm added this to the jekyll-mdl 2.0 version milestone Jan 10, 2016

@oscarmcm oscarmcm self-assigned this Jan 10, 2016

oscarmcm added a commit that referenced this pull request Jan 10, 2016

Merge pull request #36 from JmzSoftware/new
Explicitly define height as auto

@oscarmcm oscarmcm merged commit 3fb4e45 into gdgmanagua:master Jan 10, 2016

@oscarmcm

This comment has been minimized.

Member

oscarmcm commented Jan 10, 2016

Thanks @JmzTaylor 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment