Update lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js

Adjusted the height of the preview window so that it doesn't flow 
offscreen. (It was impossible to read the last lines...)
This commit is contained in:
Jeroen Tietema
2012-11-30 22:20:36 +01:00
parent 904f975f0c
commit ca57d9e83d
@@ -464,7 +464,7 @@ var applyTimeout = function () {
// 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;';