From a1b1dfd99af71ef01e257fbd6b3af5c308dbe65d Mon Sep 17 00:00:00 2001 From: incognitotgt Date: Sun, 31 Dec 2023 21:45:45 -0500 Subject: [PATCH] No more annoying borders. --- src/AboutBlank.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/AboutBlank.tsx b/src/AboutBlank.tsx index 35e8461..d5c37ac 100644 --- a/src/AboutBlank.tsx +++ b/src/AboutBlank.tsx @@ -7,7 +7,13 @@ export function AboutBlank(props: { url: string }) { iframe.style.width = "100%"; iframe.style.height = "100%"; 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); window.location.replace("https://google.com"); return (