From 5cdddc8ba8d7f24443e8b4401688ad8d4eda72da Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 16:52:21 +0000 Subject: [PATCH] update document dialog size --- static/js/documentDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/documentDialog.js b/static/js/documentDialog.js index d04c5ae3..b3c080be 100644 --- a/static/js/documentDialog.js +++ b/static/js/documentDialog.js @@ -57,8 +57,8 @@ pandora.openDocumentDialog = function(options) { pandora.ui.documentDialog = function(options) { - var dialogHeight = Math.round((window.innerHeight - 48) * 0.9) + 24, - dialogWidth = Math.round(window.innerWidth * 0.9), + var dialogHeight = Math.round((window.innerHeight - 48) * 0.9) - 24, + dialogWidth = Math.round(window.innerWidth * 0.9) - 48, isItemView = !pandora.$ui.documentsDialog, items = options.items, item = items[options.index],