From 2bc98414b19ddc01820e444c46f9240ed3c4d443 Mon Sep 17 00:00:00 2001 From: Jet Pham Date: Mon, 9 Mar 2026 22:51:35 -0700 Subject: [PATCH 1/2] fix: add error handling on the wasm loading --- src/main.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index d810ae1..e0f2984 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,5 +4,9 @@ import init, { start } from "cgol"; document.getElementById("ansi-art")!.innerHTML = Jet; -await init(); -start(); +try { + await init(); + start(); +} catch (e) { + console.error("WASM init failed:", e); +} From 99715f6105abbdb5959eac7956cbf9eea4adccff Mon Sep 17 00:00:00 2001 From: Jet Pham Date: Mon, 9 Mar 2026 22:51:35 -0700 Subject: [PATCH 2/2] feat: allow overflow in css --- src/styles/globals.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/styles/globals.css b/src/styles/globals.css index 477bb2b..566f7b2 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -42,7 +42,6 @@ white-space: normal; line-height: 1; box-sizing: border-box; - overflow: hidden; /* Disable scrolling */ } /* Desktop font size */ @@ -59,7 +58,6 @@ color: var(--white); margin: 0; padding: 0; - overflow: hidden; /* Disable scrolling */ } /* Global focus ring styles for all tabbable elements */