From 3fa1a777a42bc2184093d9ae54b405cc6773058b Mon Sep 17 00:00:00 2001 From: Silabear <56885288+Silabear@users.noreply.github.com> Date: Sun, 30 Aug 2026 11:13:11 +0100 Subject: [PATCH 1/8] Revamped UnicodeSelectorModal and changed how modals handle overflow --- .gitignore | 3 +- src/lib/components/Modal.svelte | 4 +- .../modals/UnicodeSelectorModal.svelte | 114 ++++++++++++++++-- 3 files changed, 106 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 1d13cf2..f19d3ed 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ node_modules vite.config.js.timestamp-* vite.config.ts.timestamp-* coverage -/screenshots \ No newline at end of file +/screenshots +.wrangler \ No newline at end of file diff --git a/src/lib/components/Modal.svelte b/src/lib/components/Modal.svelte index a841731..fc6a68c 100644 --- a/src/lib/components/Modal.svelte +++ b/src/lib/components/Modal.svelte @@ -66,7 +66,7 @@ {#if opened}
-
+
{@render children()}
diff --git a/src/lib/components/modals/UnicodeSelectorModal.svelte b/src/lib/components/modals/UnicodeSelectorModal.svelte index 4992b19..c2540b9 100644 --- a/src/lib/components/modals/UnicodeSelectorModal.svelte +++ b/src/lib/components/modals/UnicodeSelectorModal.svelte @@ -1,9 +1,84 @@ - -
-

Click to insert a custom character:

+ +
+

In Minecraft, thse special Unicode characters display in the pixely Minecraft font, and can be used to spice up text without needing a custom font.

-