lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js in gollum-2.4.3 vs lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js in gollum-2.4.4
- old
+ new
@@ -462,10 +462,10 @@
cssSet( editorContainer, editorContainerStyle );
editor.resize();
// width -2 for scroll bar & -10 for left offset
var previewStyle = 'width:' + (widthHalf - 2 - 10) + 'px;' +
- 'height:' + height + 'px;' +
+ 'height:' + (height -50) + 'px;' +
'left:' + (leftRight === false ? '10px;' : widthHalf + 'px;') +
// preview panel top is equal to height of comment tool panel (40px) + 1
'top:41px;';
cssSet( preview, previewStyle );