diff options
Diffstat (limited to 'skins/default/templates/mail.html')
-rw-r--r-- | skins/default/templates/mail.html | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html index f4070e95f..24f851a20 100644 --- a/skins/default/templates/mail.html +++ b/skins/default/templates/mail.html @@ -41,11 +41,22 @@ body_keypress: function(evt, p) }; </script> -<roundcube:if condition="config:preview_pane == true" /> <style type="text/css"> -#mailcontframe { height: 195px; } -</style> +<roundcube:if condition="config:preview_pane == true" /> +#mailcontframe { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-5 : 195" />px; } +#mailpreviewframe { + top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 205" />px; + /* css hack for IE */ + height: expression((parseInt(this.parentNode.offsetHeight)-<roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 205" />)+'px'); +} <roundcube:endif /> +#mailboxlist-container { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 160" />px; } +#mailrightcontainer { + left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />px; + /* css hack for IE */ + width: expression((parseInt(this.parentNode.offsetWidth)-<roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 170" />)+'px'); +} +</style> </head> <body> |