We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bea9c commit b744489Copy full SHA for b744489
src/lib/components/Table/TableContent.svelte
@@ -445,7 +445,7 @@
445
id="{tableId}-table"
446
>
447
<!-- If table height is provided, making the top row sticky -->
448
- <thead class=" {height != null ? `sticky top-0` : ''}">
+ <thead class={height != null && $pageRows.length > 0 ? `sticky top-0` : ''}>
449
<!-- {#if $data.length > 0} -->
450
{#each $headerRows as headerRow (headerRow.id)}
451
<Subscribe
0 commit comments