summaryrefslogtreecommitdiffstats
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
parent5682d302c72ae42dfa16b068ad70fe312ed1ff9d (diff)
downloadnextcloud-server-98edf3612c90aaec6fa18169feb60aede9e7ea45.tar.gz
nextcloud-server-98edf3612c90aaec6fa18169feb60aede9e7ea45.zip
Fix min trhumbnail size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--apps/files/js/filelist.js4
-rw-r--r--apps/files_sharing/js/public.js4
-rw-r--r--apps/systemtags/templates/list.php2
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 @@
<p></p>
</div>
-<table id="filestable" data-preview-x="32" data-preview-y="32">
+<table id="filestable" data-preview-x="250" data-preview-y="250">
<thead>
<tr>
<th id='headerName' class="hidden column-name">