diff options
author | Sahil Lavingia <sahil.lavingia@gmail.com> | 2014-09-09 13:38:53 -0700 |
---|---|---|
committer | Sahil Lavingia <sahil.lavingia@gmail.com> | 2014-09-09 13:38:53 -0700 |
commit | f234d1f07e49a169ff83bfd809ffb5541efb33a3 (patch) | |
tree | 1e03aa1f8203af53410f8147656d967cecd93930 /railties | |
parent | e6001cbac62130eac9193cdc2ac3b4ff99379c41 (diff) | |
download | rails-f234d1f07e49a169ff83bfd809ffb5541efb33a3.tar.gz rails-f234d1f07e49a169ff83bfd809ffb5541efb33a3.tar.bz2 rails-f234d1f07e49a169ff83bfd809ffb5541efb33a3.zip |
Removed any default margin from body.
Diffstat (limited to 'railties')
-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> |