From 6c2978168729df6c654665cb527811b220a03079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 22 Oct 2015 19:46:48 +0200 Subject: [PATCH] FIX: this is making oneboxed images way too big (reverts 121426287) --- lib/email/styles.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/email/styles.rb b/lib/email/styles.rb index c8001e8da79..fae9da62155 100644 --- a/lib/email/styles.rb +++ b/lib/email/styles.rb @@ -43,7 +43,6 @@ module Email img['width'] = 'auto' img['height'] = 'auto' end - add_styles(img, 'max-width:100%;') if img['style'] !~ /max-width/ end # ensure all urls are absolute