diff --git a/bun.lock b/bun.lock index def43e6..42b4bed 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.6", - "tailwindcss": "^4.1.2", + "svelte": "^5.25.7", + "tailwindcss": "^4.1.3", }, "devDependencies": { "@types/bun": "latest", diff --git a/src/components/progress-table.svelte b/src/components/progress-table.svelte index 55d86c7..0ac9330 100644 --- a/src/components/progress-table.svelte +++ b/src/components/progress-table.svelte @@ -1,9 +1,15 @@
{ + const scrollTop = container.scrollTop; + const scrollHeight = container.scrollHeight; + const clientHeight = container.clientHeight; + + scrolled = scrollTop > 32; + }} > {#await entriesPromise}

Loading entries...

@@ -61,14 +75,23 @@ + + {#if scrolled} +
+ {/if}
{#each entries as entry (entry.id)}
{entry.id}
{entry.name} {@render done(entry.finished)} diff --git a/tsconfig.json b/tsconfig.json index f3f358a..9c62f74 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,6 +24,5 @@ "noUnusedLocals": false, "noUnusedParameters": false, "noPropertyAccessFromIndexSignature": false - }, - "exclude": ["node_modules", "dist", "build", "out", "coverage"] + } }