FIX: this is making oneboxed images way too big (reverts 121426287
)
This commit is contained in:
parent
515fc49727
commit
6c29781687
|
@ -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 New Issue