diff --git a/bun.lock b/bun.lock index 42b4bed..def43e6 100644 --- a/bun.lock +++ b/bun.lock @@ -6,8 +6,8 @@ "dependencies": { "bun-plugin-svelte": "^0.0.6", "bun-plugin-tailwind": "^0.0.15", - "svelte": "^5.25.7", - "tailwindcss": "^4.1.3", + "svelte": "^5.25.6", + "tailwindcss": "^4.1.2", }, "devDependencies": { "@types/bun": "latest", diff --git a/src/components/main.svelte b/src/components/main.svelte index bade871..bc64388 100644 --- a/src/components/main.svelte +++ b/src/components/main.svelte @@ -4,6 +4,6 @@ const { children }: { children?: Snippet } = $props(); -
+
{@render children?.()}
diff --git a/src/components/progress-table.svelte b/src/components/progress-table.svelte index 0ac9330..4c46317 100644 --- a/src/components/progress-table.svelte +++ b/src/components/progress-table.svelte @@ -1,15 +1,9 @@ -
{ - const scrollTop = container.scrollTop; - const scrollHeight = container.scrollHeight; - const clientHeight = container.clientHeight; - - scrolled = scrollTop > 32; - }} -> +
{#await entriesPromise}

Loading entries...

{:then entries} @@ -52,9 +36,6 @@

No entries.

{:else} {@render table(entries)} -
{/if} {:catch error}

@@ -68,30 +49,21 @@ class="@container grid w-full grid-cols-[auto,1fr,auto,auto,auto] gap-1 font-light @lg:gap-3" >

id
name
- - {#if scrolled} -
- {/if}
{#each entries as entry (entry.id)}
{entry.id}
{entry.name} {@render done(entry.finished)} diff --git a/src/index.html b/src/index.html index 640ea0b..fd62144 100644 --- a/src/index.html +++ b/src/index.html @@ -1,7 +1,7 @@ - Progress tracker + Progress tracker - skaarup.dev