From cd469903d2ff98214d95597a7305645fd90116fc Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 3 Oct 2024 14:23:03 +0300 Subject: [PATCH] preview small --- client/src/views/fields/attachment-multiple.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/views/fields/attachment-multiple.js b/client/src/views/fields/attachment-multiple.js index f8ac64871e..a4592b34f9 100644 --- a/client/src/views/fields/attachment-multiple.js +++ b/client/src/views/fields/attachment-multiple.js @@ -443,8 +443,8 @@ class AttachmentMultipleFieldView extends BaseFieldView { .attr('alt', name) .attr('draggable', 'false') .css({ - maxWidth: (this.imageSizes[this.previewSize] || {})[0], - maxHeight: (this.imageSizes[this.previewSize] || {})[1], + maxWidth: (this.imageSizes['small'] || {})[0], + maxHeight: (this.imageSizes['small'] || {})[1], }) .get(0) .outerHTML;