forked from 0x2620/pandora
update document dialog size
This commit is contained in:
parent
af0f575f37
commit
5cdddc8ba8
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ pandora.openDocumentDialog = function(options) {
|
||||||
|
|
||||||
pandora.ui.documentDialog = function(options) {
|
pandora.ui.documentDialog = function(options) {
|
||||||
|
|
||||||
var dialogHeight = Math.round((window.innerHeight - 48) * 0.9) + 24,
|
var dialogHeight = Math.round((window.innerHeight - 48) * 0.9) - 24,
|
||||||
dialogWidth = Math.round(window.innerWidth * 0.9),
|
dialogWidth = Math.round(window.innerWidth * 0.9) - 48,
|
||||||
isItemView = !pandora.$ui.documentsDialog,
|
isItemView = !pandora.$ui.documentsDialog,
|
||||||
items = options.items,
|
items = options.items,
|
||||||
item = items[options.index],
|
item = items[options.index],
|
||||||
|
|
Loading…
Reference in a new issue