Skip to content

Commit

Permalink
Merge pull request #544 from geekgonecrazy/patch-1
Browse files Browse the repository at this point in the history
Fix image stretching
  • Loading branch information
rodrigok committed Aug 22, 2015
2 parents 7675750 + 14f3755 commit 719fb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-oembed/client/oembedImageWidget.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="{{url}}" target="_blank">
{{#if parsedUrl}}
<blockquote>
<img src="{{url}}" height="200" style="max-width: 100%" />
<div style="background-image: url({{url}}); background-size: contain; background-repeat: no-repeat; background-position: center left; height: 200px;"></div>
</blockquote>
{{/if}}
</a>
Expand Down

0 comments on commit 719fb97

Please sign in to comment.