From 459003303c8928d6bdfc4366aea28303d898c97f Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 08 Jan 2016 04:01:39 -0500
Subject: [PATCH] Fix initial value of horizontal splitter and page elements

---
 skins/larry/templates/mail.html |    4 ++--
 skins/larry/ui.js               |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html
index 4bf87c9..b24bc64 100644
--- a/skins/larry/templates/mail.html
+++ b/skins/larry/templates/mail.html
@@ -5,8 +5,8 @@
 <roundcube:include file="/includes/links.html" />
 <style type="text/css">
 <roundcube:if condition="config:preview_pane == true" />
-	#mailview-top { height: 276px; }
-	#mailview-bottom { top: 330px; height: auto; display: block; }
+	#mailview-top { height: 270px; }
+	#mailview-bottom { top: 284px; height: auto; display: block; }
 	#mailpreviewframe { display: block; }
 <roundcube:endif />
 </style>
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 3f280e6..2377cb4 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -232,7 +232,7 @@
         $('#mailthreadmode').addClass(rcmail.env.threading ? 'selected' : '').click(function(e) { switch_view_mode('thread'); return false; });
 
         mailviewsplit = new rcube_splitter({ id:'mailviewsplitter', p1:'#mailview-top', p2:'#mailview-bottom',
-          orientation:'h', relative:true, start:310, min:150, size:12, offset:4 });
+          orientation:'h', relative:true, start:276, min:150, size:12, offset:4 });
         if (previewframe)
           mailviewsplit.init();
 

--
Gitblit v1.9.1