From 605081259a6a6a30a44471a866794d9e09416b9e Mon Sep 17 00:00:00 2001 From: j Date: Tue, 24 Jan 2017 16:20:04 +0100 Subject: [PATCH] padding --- static/js/document.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/document.js b/static/js/document.js index 6e08dca1..476a8056 100644 --- a/static/js/document.js +++ b/static/js/document.js @@ -61,7 +61,7 @@ pandora.ui.document = function() { that.replaceElement(1, $content = ( item.extension == 'pdf' ? Ox.PDFViewer({ - height: that.height(), + height: that.height() - 16, page: pandora.user.ui.documents[item.id] ? pandora.user.ui.documents[item.id].position : 1, @@ -77,7 +77,7 @@ pandora.ui.document = function() { area: pandora.user.ui.documents[item.id] ? pandora.user.ui.documents[item.id].position : [], - height: that.height(), + height: that.height() - 16, imageHeight: item.dimensions[1], imagePreviewURL: pandora.getMediaURL('/documents/' + item.id + '/256p.jpg?' + item.modified), imageURL: pandora.getMediaURL('/documents/' + item.id + '/'