summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-06 11:45:19 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-06 11:45:19 +0100
commit98edf3612c90aaec6fa18169feb60aede9e7ea45 (patch)
treead63882bc0fce5cf4bd08e1978e42e13d1fef974 /apps/files_sharing
parent5682d302c72ae42dfa16b068ad70fe312ed1ff9d (diff)
downloadnextcloud-server-98edf3612c90aaec6fa18169feb60aede9e7ea45.tar.gz
nextcloud-server-98edf3612c90aaec6fa18169feb60aede9e7ea45.zip
Fix min trhumbnail size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/public.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 1dd9f5af6c7..2bd550a3b5c 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -229,10 +229,10 @@ OCA.Sharing.PublicApp = {
this.fileList.generatePreviewUrl = function (urlSpec) {
urlSpec = urlSpec || {};
if (!urlSpec.x) {
- urlSpec.x = this.$table.data('preview-x') || 32;
+ urlSpec.x = this.$table.data('preview-x') || 250;
}
if (!urlSpec.y) {
- urlSpec.y = this.$table.data('preview-y') || 32;
+ urlSpec.y = this.$table.data('preview-y') || 250;
}
urlSpec.x *= window.devicePixelRatio;
urlSpec.y *= window.devicePixelRatio;