Merge pull request #595 from jtietema/patch-1
Update lib/gollum/frontend/public/gollum/livepreview/js/livepreview.js
This commit is contained in:
@@ -464,7 +464,7 @@ var applyTimeout = function () {
|
|||||||
|
|
||||||
// width -2 for scroll bar & -10 for left offset
|
// width -2 for scroll bar & -10 for left offset
|
||||||
var previewStyle = 'width:' + (widthHalf - 2 - 10) + 'px;' +
|
var previewStyle = 'width:' + (widthHalf - 2 - 10) + 'px;' +
|
||||||
'height:' + height + 'px;' +
|
'height:' + (height -50) + 'px;' +
|
||||||
'left:' + (leftRight === false ? '10px;' : widthHalf + 'px;') +
|
'left:' + (leftRight === false ? '10px;' : widthHalf + 'px;') +
|
||||||
// preview panel top is equal to height of comment tool panel (40px) + 1
|
// preview panel top is equal to height of comment tool panel (40px) + 1
|
||||||
'top:41px;';
|
'top:41px;';
|
||||||
|
|||||||
Reference in New Issue
Block a user