From c3f94de06031ec943e5e5f68fa63804e38265db4 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 07 Feb 2008 02:51:01 -0500
Subject: [PATCH] Fix size of the attachment preview frame (#1484758)

---
 skins/default/mail.css |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/skins/default/mail.css b/skins/default/mail.css
index 4e2fd59..9cb50f5 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -152,15 +152,12 @@
 
 #messagepartframe
 {
-  position: absolute;
-  top: 0px;
-  left: 0px;
-  right: 0px;
-  bottom: 0px;
-  width: auto;
-  height: auto;
+  width: 100%;
+  height: 100%;
   border: 1px solid #999999;
   background-color: #F9F9F9;
+  /* css hack for IE */
+  height: expression(parseInt(document.getElementById('messagepartcontainer').offsetHeight)+'px');
 }
 
 

--
Gitblit v1.9.1