fix(ui): sticky log table header and bounded stage and service columns
This commit is contained in:
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"
|
||||
|
||||
Reference in new issue
Block a user