From cb7597e268fa5fa9760f9d0cae5c1fd1f0e3fbe7 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 19 Sep 2008 02:57:13 -0400
Subject: [PATCH] -moved <style> to <head>

---
 skins/default/templates/mail.html |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index ff1fe94..f4070e9 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -41,6 +41,11 @@
 };
 
 </script>
+<roundcube:if condition="config:preview_pane == true" />
+<style type="text/css">
+#mailcontframe { height: 195px; }
+</style>
+<roundcube:endif />
 </head>
 <body>
 
@@ -87,10 +92,6 @@
 <div id="mailpreviewframe">
 <roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
 </div>
-
-<style type="text/css">
-#mailcontframe { height: 195px; }
-</style>
 
 <roundcube:endif />
 

--
Gitblit v1.9.1