shrink the height

This commit is contained in:
Greg Gauthier 2024-06-27 19:15:28 +01:00
parent 204ef94d6a
commit 0d5050a004

View File

@ -36,7 +36,7 @@
iframe.style.width = '100%'; // make the iframe take full width of the container iframe.style.width = '100%'; // make the iframe take full width of the container
iframe.style.border = 'none'; // hide the border iframe.style.border = 'none'; // hide the border
iframe.style.overflow = 'hidden'; // hide scrollbars, can be 'auto' if you prefer automatic scrollbars iframe.style.overflow = 'hidden'; // hide scrollbars, can be 'auto' if you prefer automatic scrollbars
iframe.style.height = '1000px'; // set a height so that the iframe is visible, adjust as per your needs iframe.style.height = '750px'; // set a height so that the iframe is visible, adjust as per your needs
document.getElementById("toolPanel").innerHTML = ''; document.getElementById("toolPanel").innerHTML = '';
document.getElementById("toolPanel").appendChild(iframe); document.getElementById("toolPanel").appendChild(iframe);
} }