From: Mischa POSLAWSKY Date: Sat, 15 Apr 2023 07:16:10 +0000 (+0200) Subject: word/edit: fix crop selection image size X-Git-Tag: v1.14~23 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/98a7aedf1337e4d17ca34cf3961a69b8cba7f46a word/edit: fix crop selection image size --- diff --git a/word/editor.js b/word/editor.js index 4eb2382..5277402 100644 --- a/word/editor.js +++ b/word/editor.js @@ -191,6 +191,7 @@ document.addEventListener('DOMContentLoaded', () => { imgselect.src = imgpreview.src; imgselect.style.cursor = 'grab'; imgselect.style.position = 'absolute'; + imgselect.style.maxWidth = 'none'; recrop(); imgselect.ontouchstart =