git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a4124
)
word/edit: fix crop selection image size
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 15 Apr 2023 07:16:10 +0000
(09:16 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 9 May 2023 17:16:17 +0000
(19:16 +0200)
word/editor.js
patch
|
blob
|
history
diff --git
a/word/editor.js
b/word/editor.js
index 4eb2382434c238792e0cc718c926737f757dcaf7..527740202433b4db0a75f6c8210464b87b68791b 100644
(file)
--- 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 =