Compare commits

...

2 commits

Author SHA1 Message Date
Jet Pham
99715f6105
feat: allow overflow in css 2026-03-09 22:57:45 -07:00
Jet Pham
2bc98414b1
fix: add error handling on the wasm loading 2026-03-09 22:57:24 -07:00
2 changed files with 6 additions and 4 deletions

View file

@ -4,5 +4,9 @@ import init, { start } from "cgol";
document.getElementById("ansi-art")!.innerHTML = Jet; document.getElementById("ansi-art")!.innerHTML = Jet;
await init(); try {
start(); await init();
start();
} catch (e) {
console.error("WASM init failed:", e);
}

View file

@ -42,7 +42,6 @@
white-space: normal; white-space: normal;
line-height: 1; line-height: 1;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; /* Disable scrolling */
} }
/* Desktop font size */ /* Desktop font size */
@ -59,7 +58,6 @@
color: var(--white); color: var(--white);
margin: 0; margin: 0;
padding: 0; padding: 0;
overflow: hidden; /* Disable scrolling */
} }
/* Global focus ring styles for all tabbable elements */ /* Global focus ring styles for all tabbable elements */