Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #455 from Shopify/img-max-width
Browse files Browse the repository at this point in the history
max-width to contain all images by default
  • Loading branch information
cshold committed Jul 21, 2015
2 parents 6c40c80 + d53775c commit 7aa27a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ DEPENDENCIES
nokogiri
pry
rspec

BUNDLED WITH
1.10.4
5 changes: 2 additions & 3 deletions assets/timber.scss.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -1321,9 +1321,8 @@ svg:not(:root) {
overflow: hidden;
}

img.auto,
.grid__item img,
.grid__item iframe {
img,
iframe {
max-width: 100%;
}

Expand Down

0 comments on commit 7aa27a6

Please sign in to comment.