We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0102ff6 commit 2642dafCopy full SHA for 2642daf
web_src/js/features/repo-issue-edit.js
@@ -87,10 +87,10 @@ async function onEditContent(event) {
87
dz.emit('addedfile', attachment);
88
if (isImageFile(attachment.name)) {
89
dz.emit('thumbnail', attachment, imgSrc);
90
+ dropzone.querySelector(`img[src='${imgSrc}']`).style.maxWidth = '100%';
91
}
92
dz.emit('complete', attachment);
93
fileUuidDict[attachment.uuid] = {submitted: true};
- dropzone.querySelector(`img[src='${imgSrc}']`).style.maxWidth = '100%';
94
const input = document.createElement('input');
95
input.id = attachment.uuid;
96
input.name = 'files';
0 commit comments