diff --git a/src/content.ts b/src/content.ts index 32f3c748..85b4ad79 100644 --- a/src/content.ts +++ b/src/content.ts @@ -205,9 +205,8 @@ if ( if (newtab) { excmds.open_quiet(newtab) } else { - document.body.style.height = "100%" - document.body.style.opacity = "1" - document.body.style.overflow = "auto" + const content = document.getElementById("trinewtab") + content.style.display = "block" document.title = "Tridactyl Top Tips & New Tab Page" } } diff --git a/src/static/newtab.template.html b/src/static/newtab.template.html index 54fa367b..276f6a7c 100644 --- a/src/static/newtab.template.html +++ b/src/static/newtab.template.html @@ -9,10 +9,12 @@ -
-