From ca57d9e83d18cba0881d619431d9020d3f31a99c Mon Sep 17 00:00:00 2001 From: Jeroen Tietema Date: Fri, 30 Nov 2012 22:20:36 +0100 Subject: [PATCH] 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...) --- lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js index 57f561a8..f7e352ae 100644 --- a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js +++ b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js @@ -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;';