Skip to content

Commit

Permalink
Fix image resizing to be proportional
Browse files Browse the repository at this point in the history
Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.
  • Loading branch information
dchest committed Aug 23, 2013
1 parent 6da5f9d commit 77d3601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/grids/css/grids-r.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

.pure-g-r img {
max-width: 100%;
height: auto;
}

@media (min-width: 980px) {
Expand Down

0 comments on commit 77d3601

Please sign in to comment.