diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-29 16:34:24 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-29 16:34:24 -0200 |
commit | 5184fee8bcc452d58a243baf9b54b63bf55c0bd6 (patch) | |
tree | 83509f1180bc64835653b39b3c8897400e8c33dd /railties/lib/rails | |
parent | 5bbb9ad2bbf2bcb3836467eb4077d6c91d0a952d (diff) | |
parent | c3857355b81e458f4f8da59cb833dc19c467a412 (diff) | |
download | rails-5184fee8bcc452d58a243baf9b54b63bf55c0bd6.tar.gz rails-5184fee8bcc452d58a243baf9b54b63bf55c0bd6.tar.bz2 rails-5184fee8bcc452d58a243baf9b54b63bf55c0bd6.zip |
Merge pull request #17429 from edwinwills/full-height-email-preview
The email preview iframe height is fixed and does not scale to the browser size
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/templates/rails/mailers/email.html.erb | 5 |
1 files changed, 4 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 1dc1d70f8d..0b08a01896 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"> + html, body, iframe { + height: 100%; + } + body { margin: 0; } @@ -38,7 +42,6 @@ iframe { border: 0; width: 100%; - height: 800px; } </style> </head> |