shrink the height
This commit is contained in:
parent
204ef94d6a
commit
0d5050a004
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user