Fix initial value of horizontal splitter and page elements
| | |
| | | <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> |
| | |
| | | $('#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(); |
| | | |