diff --git a/src/main.ts b/src/main.ts index e0f2984..d810ae1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,9 +4,5 @@ import init, { start } from "cgol"; document.getElementById("ansi-art")!.innerHTML = Jet; -try { - await init(); - start(); -} catch (e) { - console.error("WASM init failed:", e); -} +await init(); +start(); diff --git a/src/styles/globals.css b/src/styles/globals.css index 566f7b2..477bb2b 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -42,6 +42,7 @@ white-space: normal; line-height: 1; box-sizing: border-box; + overflow: hidden; /* Disable scrolling */ } /* Desktop font size */ @@ -58,6 +59,7 @@ color: var(--white); margin: 0; padding: 0; + overflow: hidden; /* Disable scrolling */ } /* Global focus ring styles for all tabbable elements */