Create a gist now

Instantly share code, notes, and snippets.

anonymous /Do not overstretch images
Created Jan 25, 2013

Avoid images stretching beyond their natural width in Pixel Moxie's Luomo Tumblr theme.
.post.is_photo figure {
display: inline-block;
width: auto;
.post.is_photo figure img {
height: auto;
max-width: 100%;
width: auto;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment