diff --git a/mail/js/app.js b/mail/js/app.js index 6841211283..421cc9f89b 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -905,7 +905,7 @@ app.classes.mail = AppJS.extend( { // Need to make sure that the iframe is fullyLoad before calculation window.setTimeout(function(){ - var lastEl = $preview_iframe.prev().prev(); + var lastEl = $preview_iframe.prev(); // Top offset of preview iframe calculated from top level var iframeTop = $preview_iframe.offset().top; while (lastEl.css('display') === "none") diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index c04e00ccc6..3f542488ec 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -506,11 +506,10 @@ div.mail-compose_fileselector { } #mail-index_mailPreviewContainer { position: absolute; - border: 1px solid silver; top: 9em; bottom: 0; - left: 3px; - right: 0; + left: 0px; + right: 5px; } #mail-index_previewAttachmentArea { background-color:#f0f0f0; diff --git a/mail/templates/default/index.xet b/mail/templates/default/index.xet index 10fbcbc0ac..5d80ebe4f5 100644 --- a/mail/templates/default/index.xet +++ b/mail/templates/default/index.xet @@ -4,8 +4,9 @@