mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: this is making oneboxed images way too big (reverts 121426287
)
This commit is contained in:
parent
515fc49727
commit
6c29781687
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ module Email
|
||||||
img['width'] = 'auto'
|
img['width'] = 'auto'
|
||||||
img['height'] = 'auto'
|
img['height'] = 'auto'
|
||||||
end
|
end
|
||||||
add_styles(img, 'max-width:100%;') if img['style'] !~ /max-width/
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# ensure all urls are absolute
|
# ensure all urls are absolute
|
||||||
|
|
Loading…
Reference in a new issue