From e1ab77d4c39e14b0afe8b044a40983d237adffd1 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 4 Mar 2014 12:23:05 +0100 Subject: [PATCH] Fix canva overflow for thumbnail preview --- templates/web/prod/upload/upload.html.twig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/web/prod/upload/upload.html.twig b/templates/web/prod/upload/upload.html.twig index f40b31bf09..22bfc9494c 100644 --- a/templates/web/prod/upload/upload.html.twig +++ b/templates/web/prod/upload/upload.html.twig @@ -155,11 +155,9 @@ $(document).ready(function () { var maxFileSize = {{ maxFileSize }}; UploaderManager.Preview.setOptions({ - maxWidth: 160, - maxHeight: 120, - minWidth: 160, - minHeight: 120 - }); + maxWidth: 130, + maxHeight: 120 + }); //Init jquery tabs $(".upload-tabs", UploaderManager.getContainer()).tabs({