Skip to content

Modern Docker Management, Designed for Everyone

fix: dashboard tables footer overlapping cells

Kyle Mendell305f46b46eea
diff --git a/frontend/src/routes/dashboard/dash-container-table.svelte b/frontend/src/routes/dashboard/dash-container-table.svelte
index 18752e349..472114847 100644
--- a/frontend/src/routes/dashboard/dash-container-table.svelte
+++ b/frontend/src/routes/dashboard/dash-container-table.svelte
@@ -141,7 +141,7 @@
</Button>
</div>
</Card.Header>
- <Card.Content class="relative flex min-h-0 flex-1 flex-col px-0">
+ <Card.Content class="flex min-h-0 flex-1 flex-col px-0">
<ArcaneTable
items={{ ...containers, data: containers.data.slice(0, calculatedLimit) }}
bind:requestOptions
@@ -154,13 +154,13 @@
{columns}
mobileCard={DashContainerMobileCard}
/>
- {#if containers.data.length >= calculatedLimit && containers.pagination.totalItems > calculatedLimit}
- <div
- class="bg-muted/40 text-muted-foreground absolute right-0 bottom-0 left-0 rounded-b-xl px-6 py-3 text-xs backdrop-blur-sm"
- >
- {m.containers_showing_of_total({ shown: calculatedLimit, total: containers.pagination.totalItems })}
- </div>
- {/if}
</Card.Content>
+ {#if containers.data.length >= calculatedLimit && containers.pagination.totalItems > calculatedLimit}
+ <Card.Footer class="border-t px-6 py-3">
+ <span class="text-muted-foreground text-xs">
+ {m.containers_showing_of_total({ shown: calculatedLimit, total: containers.pagination.totalItems })}
+ </span>
+ </Card.Footer>
+ {/if}
</Card.Root>
</div>
diff --git a/frontend/src/routes/dashboard/dash-image-table.svelte b/frontend/src/routes/dashboard/dash-image-table.svelte
index b70df1012..ba584649d 100644
--- a/frontend/src/routes/dashboard/dash-image-table.svelte
+++ b/frontend/src/routes/dashboard/dash-image-table.svelte
@@ -154,7 +154,7 @@
</Button>
</div>
</Card.Header>
- <Card.Content class="relative flex min-h-0 flex-1 flex-col px-0">
+ <Card.Content class="flex min-h-0 flex-1 flex-col px-0">
<ArcaneTable
items={{ ...images, data: images.data.slice(0, calculatedLimit) }}
bind:requestOptions
@@ -167,13 +167,13 @@
{columns}
mobileCard={DashImageMobileCard}
/>
- {#if images.data.length >= calculatedLimit && images.pagination.totalItems > calculatedLimit}
- <div
- class="bg-muted/40 text-muted-foreground absolute right-0 bottom-0 left-0 rounded-b-xl px-6 py-3 text-xs backdrop-blur-sm"
- >
- {m.images_showing_of_total({ shown: calculatedLimit, total: images.pagination.totalItems })}
- </div>
- {/if}
</Card.Content>
+ {#if images.data.length >= calculatedLimit && images.pagination.totalItems > calculatedLimit}
+ <Card.Footer class="border-t px-6 py-3">
+ <span class="text-muted-foreground text-xs">
+ {m.images_showing_of_total({ shown: calculatedLimit, total: images.pagination.totalItems })}
+ </span>
+ </Card.Footer>
+ {/if}
</Card.Root>
</div>