diff options
author | Edwin Wills <edwin@rentify.com> | 2014-10-29 18:24:05 +0000 |
---|---|---|
committer | Edwin Wills <edwin@rentify.com> | 2014-10-29 18:24:05 +0000 |
commit | c3857355b81e458f4f8da59cb833dc19c467a412 (patch) | |
tree | 83509f1180bc64835653b39b3c8897400e8c33dd | |
parent | 5bbb9ad2bbf2bcb3836467eb4077d6c91d0a952d (diff) | |
download | rails-c3857355b81e458f4f8da59cb833dc19c467a412.tar.gz rails-c3857355b81e458f4f8da59cb833dc19c467a412.tar.bz2 rails-c3857355b81e458f4f8da59cb833dc19c467a412.zip |
On larger screens the email preview iframe is being limited to a height of 800 pixels, and the full available screen size is not being used.
-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> |