diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-09-30 10:49:48 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-09-30 10:49:48 +0200 |
commit | 1051a3c6f5891e703a15225e12bbb9417755a860 (patch) | |
tree | 42309f8969042a29e2274e1b3d89da5a97dc322b /apps/files_sharing/js | |
parent | db79ba547aaf4e3c8ab732aece11f8d738ebad95 (diff) | |
download | nextcloud-server-1051a3c6f5891e703a15225e12bbb9417755a860.tar.gz nextcloud-server-1051a3c6f5891e703a15225e12bbb9417755a860.zip |
Change small thumbnails to 32 px
* fixes #16913
* fixes issues in IE8 where the thumbnail is too big
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r-- | apps/files_sharing/js/public.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 6a6095317af..1c3d4b9ac32 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -161,10 +161,10 @@ OCA.Sharing.PublicApp = { this.fileList.generatePreviewUrl = function (urlSpec) { urlSpec = urlSpec || {}; if (!urlSpec.x) { - urlSpec.x = 36; + urlSpec.x = 32; } if (!urlSpec.y) { - urlSpec.y = 36; + urlSpec.y = 32; } urlSpec.x *= window.devicePixelRatio; urlSpec.y *= window.devicePixelRatio; |