From 298150a7e6dea8955155920d11dd700dbc68819e Mon Sep 17 00:00:00 2001 From: robin Date: Mon, 24 Sep 2007 07:11:37 +0000 Subject: Fix preview pane size for Safari & Konqueror (closes #1484187). git-svn-id: https://svn.roundcube.net/trunk@807 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/CHANGELOG | 5 +++++ roundcubemail/skins/default/mail.css | 20 ++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG index 03db1d3f7..6ac2e6079 100644 --- a/roundcubemail/CHANGELOG +++ b/roundcubemail/CHANGELOG @@ -1,6 +1,11 @@ CHANGELOG RoundCube Webmail --------------------------- +2007/09/24 (robin) +---------- +- Fix preview pane size for Safari & Konqueror (#1484187) + + 2007/09/20 (robin) ---------- - Make smtp HELO/EHLO hostname configurable (#1484067) diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css index c37a7b993..efbd3c0e6 100644 --- a/roundcubemail/skins/default/mail.css +++ b/roundcubemail/skins/default/mail.css @@ -136,19 +136,15 @@ #messagecontframe { - width: 100%; - height: 100%; - border: 0; -} - -/*\*/ -html>body*#messagecontframe -{ - [height: 40%; - height: 40%; - ]height: 100%; + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom: 0px; + /* css hack for IE */ + width: expression((parseInt(document.documentElement.clientWidth)-230)+'px'); + height: expression((parseInt(document.documentElement.clientHeight)-135-document.getElementById('mailcontframe').offsetHeight)+'px'); } -/**/ #messagepartframe { -- cgit v1.2.3