forked from 0x2620/pandora
padding
This commit is contained in:
parent
5af3120b5a
commit
605081259a
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ pandora.ui.document = function() {
|
||||||
that.replaceElement(1, $content = (
|
that.replaceElement(1, $content = (
|
||||||
item.extension == 'pdf'
|
item.extension == 'pdf'
|
||||||
? Ox.PDFViewer({
|
? Ox.PDFViewer({
|
||||||
height: that.height(),
|
height: that.height() - 16,
|
||||||
page: pandora.user.ui.documents[item.id]
|
page: pandora.user.ui.documents[item.id]
|
||||||
? pandora.user.ui.documents[item.id].position
|
? pandora.user.ui.documents[item.id].position
|
||||||
: 1,
|
: 1,
|
||||||
|
@ -77,7 +77,7 @@ pandora.ui.document = function() {
|
||||||
area: pandora.user.ui.documents[item.id]
|
area: pandora.user.ui.documents[item.id]
|
||||||
? pandora.user.ui.documents[item.id].position
|
? pandora.user.ui.documents[item.id].position
|
||||||
: [],
|
: [],
|
||||||
height: that.height(),
|
height: that.height() - 16,
|
||||||
imageHeight: item.dimensions[1],
|
imageHeight: item.dimensions[1],
|
||||||
imagePreviewURL: pandora.getMediaURL('/documents/' + item.id + '/256p.jpg?' + item.modified),
|
imagePreviewURL: pandora.getMediaURL('/documents/' + item.id + '/256p.jpg?' + item.modified),
|
||||||
imageURL: pandora.getMediaURL('/documents/' + item.id + '/'
|
imageURL: pandora.getMediaURL('/documents/' + item.id + '/'
|
||||||
|
|
Loading…
Reference in a new issue