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

Explicitly define height as auto #36

Merged
merged 1 commit into from
Jan 10, 2016
Merged

Explicitly define height as auto #36

merged 1 commit into from
Jan 10, 2016

Conversation

JmzTaylor
Copy link
Contributor

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.

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
Explicitly define height as auto
@oscarmcm oscarmcm merged commit 3fb4e45 into gdgmanagua:master Jan 10, 2016
@oscarmcm
Copy link
Member

Thanks @JmzTaylor 😄

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

Successfully merging this pull request may close these issues.

2 participants