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

Fix image resizing to be proportional #172

Merged
merged 1 commit into from
Aug 23, 2013
Merged

Fix image resizing to be proportional #172

merged 1 commit into from
Aug 23, 2013

Conversation

dchest
Copy link
Contributor

@dchest dchest commented Aug 23, 2013

Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.

beforeafter

Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.
@tilomitra
Copy link
Contributor

Thanks for this fix! @ericf, this should be pulled into Pure 0.2.2 as well, IMO.

@ericf
Copy link
Collaborator

ericf commented Aug 23, 2013

Yeah… I'm still LOLing at the example image.

@ericf
Copy link
Collaborator

ericf commented Aug 23, 2013

@tilomitra will you add a test for this in Responsive Grids manual tests?

@tilomitra
Copy link
Contributor

Sure. I have a branch with that ready to go.

tilomitra added a commit that referenced this pull request Aug 23, 2013
Fix image resizing to be proportional
@tilomitra tilomitra merged commit dcc75bd into pure-css:master Aug 23, 2013
tilomitra added a commit that referenced this pull request Aug 23, 2013
@tilomitra
Copy link
Contributor

Merged this branch into master, and then merged my branch containing a HISTORY.md entry and a test update, to master.

@dchest dchest deleted the patch-2 branch September 3, 2013 11:58
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

Successfully merging this pull request may close these issues.

3 participants