Skip to content

Commit

Permalink
NREM-211 Override explicit heights set so images can be responsive (#137
Browse files Browse the repository at this point in the history
)

Right now explicit heights set in the WYSIWYG may force some images to
warp when the window narrows. This is the responsive images fix.
  • Loading branch information
sacarney authored and angelamnr committed Aug 11, 2017
1 parent 3262fe0 commit 9005c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ img {

/* Target only images in content */
.field-name-body img {
height: auto;
height: auto !important;
max-width: calc(100% - 1rem);
margin: 0.5rem;
}
Expand Down

0 comments on commit 9005c09

Please sign in to comment.