fix(ui): sticky log table header and bounded stage and service columns

This commit is contained in:
sam committed 2026-10-25 02:19:05 +11:00
1 parent a72c3e3f49
commit a7bc7944eb
3 files changed
+7 -5

No files matched your search

@@ -30,6 +30,8 @@ const props = defineProps<{
rowLink?: (row: Row) => string;
rowLabel?: (row: Row) => string;
rowClass?: (row: Row) => string;
/** Keeps the header in view inside a scrolling container. */
stickyHeader?: boolean;
}>();
const slots = defineSlots<Record<string, (props: { row: Row }) => unknown> & { empty?: () => unknown; actions?: (props: { row: Row }) => unknown; detail?: (props: { row: Row }) => unknown }>();
@@ -81,7 +83,7 @@ function open(row: Row): void {
<template>
<Table>
<TableHeader>
<TableHeader :class="stickyHeader && 'sticky top-0 z-10 bg-card'">
<TableRow>
<TableHead
v-for="column in shown"