Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

feat(web): add loading message to lazily-loaded editor (#2817)

Elijah Potter6cf6471699c5
diff --git a/packages/web/src/lib/components/LazyEditor.svelte b/packages/web/src/lib/components/LazyEditor.svelte
index c5735d297..02ad241f9 100644
--- a/packages/web/src/lib/components/LazyEditor.svelte
+++ b/packages/web/src/lib/components/LazyEditor.svelte
@@ -17,7 +17,8 @@ function onReady() {
{/await}
{#if loading}
- <div class="flex flex-row h-full max-w-full items-center justify-center">
+ <div class="flex h-full max-w-full flex-col items-center justify-center gap-2">
<Spinner color="green" />
+ <p class="text-sm">Loading Harper's grammar engine...</p>
</div>
{/if}