summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-07 07:51:01 +0000
committerthomascube <thomas@roundcube.net>2008-02-07 07:51:01 +0000
commitc3f94de06031ec943e5e5f68fa63804e38265db4 (patch)
treefba253544b4dd38a6052293aa02e78ca70768c72 /skins
parent6f2f2d0ffdf21ac0dce85b5dae8809a49b14a7a2 (diff)
Fix size of the attachment preview frame (#1484758)
Diffstat (limited to 'skins')
-rw-r--r--skins/default/mail.css11
-rw-r--r--skins/default/templates/messagepart.html2
2 files changed, 5 insertions, 8 deletions
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 4e2fd59d5..9cb50f555 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -152,15 +152,12 @@ td.formlinks a:visited
#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');
}
diff --git a/skins/default/templates/messagepart.html b/skins/default/templates/messagepart.html
index cf5803db0..9da9d199c 100644
--- a/skins/default/templates/messagepart.html
+++ b/skins/default/templates/messagepart.html
@@ -15,7 +15,7 @@
<div id="messagepartcontainer">
-<roundcube:object name="messagePartFrame" id="messagepartframe" width="100%" height="85%" />
+<roundcube:object name="messagePartFrame" id="messagepartframe" width="100%" height="100%" />
</div>
</body>