No more annoying borders.
This commit is contained in:
parent
146ef7dc21
commit
a1b1dfd99a
1 changed files with 7 additions and 1 deletions
|
|
@ -7,7 +7,13 @@ export function AboutBlank(props: { url: string }) {
|
||||||
iframe.style.width = "100%";
|
iframe.style.width = "100%";
|
||||||
iframe.style.height = "100%";
|
iframe.style.height = "100%";
|
||||||
iframe.style.border = "none";
|
iframe.style.border = "none";
|
||||||
iframe.style.overflow = "hidden";
|
iframe.style.margin = "0";
|
||||||
|
iframe.style.padding = "0";
|
||||||
|
iframe.style.position = "fixed";
|
||||||
|
iframe.style.top = "0";
|
||||||
|
iframe.style.bottom = "0";
|
||||||
|
iframe.style.left = "0";
|
||||||
|
iframe.style.right = "0";
|
||||||
newWindow.document.body.appendChild(iframe);
|
newWindow.document.body.appendChild(iframe);
|
||||||
window.location.replace("https://google.com");
|
window.location.replace("https://google.com");
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue