diff options
author | Jeremy Kemper <jeremykemper@gmail.com> | 2014-09-09 13:51:12 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremykemper@gmail.com> | 2014-09-09 13:51:12 -0700 |
commit | b1b9651c5bbe7c96f00a0ed71987de9091d7cb50 (patch) | |
tree | 1e03aa1f8203af53410f8147656d967cecd93930 | |
parent | e6001cbac62130eac9193cdc2ac3b4ff99379c41 (diff) | |
parent | f234d1f07e49a169ff83bfd809ffb5541efb33a3 (diff) | |
download | rails-b1b9651c5bbe7c96f00a0ed71987de9091d7cb50.tar.gz rails-b1b9651c5bbe7c96f00a0ed71987de9091d7cb50.tar.bz2 rails-b1b9651c5bbe7c96f00a0ed71987de9091d7cb50.zip |
Merge pull request #16855 from slavingia/patch-1
Removed any default margin from mail preview body.
-rw-r--r-- | railties/lib/rails/templates/rails/mailers/email.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/railties/lib/rails/templates/rails/mailers/email.html.erb b/railties/lib/rails/templates/rails/mailers/email.html.erb index 977feb922b..1dc1d70f8d 100644 --- a/railties/lib/rails/templates/rails/mailers/email.html.erb +++ b/railties/lib/rails/templates/rails/mailers/email.html.erb @@ -2,6 +2,10 @@ <html><head> <meta name="viewport" content="width=device-width" /> <style type="text/css"> + body { + margin: 0; + } + header { width: 100%; padding: 10px 0 0 0; @@ -95,4 +99,4 @@ <iframe seamless name="messageBody" src="?part=<%= Rack::Utils.escape(@part.mime_type) %>"></iframe> </body> -</html>
\ No newline at end of file +</html> |