summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-07 07:51:01 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-07 07:51:01 +0000
commitd1aee850dea62802326d8481e7955b99ba566adf (patch)
tree6cf4fb4b8c1c2fcecfd27ed28d26859e408b03ac
parentca7a889ee78c55ab739ae01a121b257e1d3b4206 (diff)
Fix size of the attachment preview frame (#1484758)
git-svn-id: https://svn.roundcube.net/trunk@1027 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/CHANGELOG4
-rw-r--r--roundcubemail/skins/default/mail.css11
-rw-r--r--roundcubemail/skins/default/templates/messagepart.html2
3 files changed, 8 insertions, 9 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index a739668e0..7f04880b4 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/CHANGELOG
@@ -1,9 +1,11 @@
CHANGELOG RoundCube Webmail
---------------------------
-2008/02/06 (thomasb)
+2008/02/07 (thomasb)
----------
- Remember decision to display images for a certain message during session (#1484754)
+- Truncte attachment filenames to 55 characters due to an IE bug (#1484757)
+- Fix size of the attachment preview frame (#1484758)
2008/02/05 (thomasb)
----------
diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css
index 4e2fd59d5..9cb50f555 100644
--- a/roundcubemail/skins/default/mail.css
+++ b/roundcubemail/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/roundcubemail/skins/default/templates/messagepart.html b/roundcubemail/skins/default/templates/messagepart.html
index cf5803db0..9da9d199c 100644
--- a/roundcubemail/skins/default/templates/messagepart.html
+++ b/roundcubemail/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>