From 98edf3612c90aaec6fa18169feb60aede9e7ea45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 6 Nov 2018 11:45:19 +0100 Subject: [PATCH] Fix min trhumbnail size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/js/filelist.js | 4 ++-- apps/files_sharing/js/public.js | 4 ++-- apps/systemtags/templates/list.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index b61b4ef8569..648a4f02641 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1953,10 +1953,10 @@ 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; 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; diff --git a/apps/systemtags/templates/list.php b/apps/systemtags/templates/list.php index 841ce7b5b6d..252199d2fc4 100644 --- a/apps/systemtags/templates/list.php +++ b/apps/systemtags/templates/list.php @@ -13,7 +13,7 @@

- +