mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
css & fix image display
This commit is contained in:
@@ -744,11 +744,14 @@ if (content && key) {
|
||||
let pasteContent = document.querySelector('#paste-content');
|
||||
pasteContent.style.display = "none";
|
||||
|
||||
var img = document.createElement('img')
|
||||
var imgWrapper = document.createElement('div');
|
||||
imgWrapper.classList.add('paste-wrapper');
|
||||
var img = document.createElement('img');
|
||||
img.src = content;
|
||||
img.style.maxWidth = '742px';
|
||||
//img.style.maxWidth = '742px';
|
||||
|
||||
pasteContent.after(img);
|
||||
pasteContent.after(imgWrapper);
|
||||
imgWrapper.appendChild(img);
|
||||
|
||||
// Display Download button
|
||||
document.querySelectorAll('.btn-clone').forEach((node) => node.style.display = "none")
|
||||
|
||||
Reference in New Issue
Block a user