Revert "fix(ui): pin DataTable pagination to bottom, table body scrolls independently"
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 58s
CI / docker (push) Successful in 9s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 35s

This reverts commit b863370511.
This commit is contained in:
hsiegeln
2026-03-28 14:57:16 +01:00
parent b863370511
commit a658ed9135
2 changed files with 23 additions and 29 deletions

View File

@@ -25,15 +25,7 @@
overflow: hidden;
}
/* Make the DataTable wrapper fill height: scroll area grows, footer stays pinned */
.tableSection > div {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.tableSection > div > div:first-child {
.tableScroll {
flex: 1;
min-height: 0;
overflow-y: auto;

View File

@@ -267,27 +267,29 @@ export default function Dashboard() {
</div>
</div>
<DataTable
columns={columns}
data={rows}
onRowClick={handleRowClick}
selectedId={selectedId}
sortable
flush
onSortChange={handleSortChange}
rowAccent={handleRowAccent}
expandedContent={(row: Row) =>
row.errorMessage ? (
<div className={styles.inlineError}>
<span className={styles.inlineErrorIcon}><AlertTriangle size={14} /></span>
<div>
<div className={styles.inlineErrorText}>{row.errorMessage}</div>
<div className={styles.inlineErrorHint}>Click to view full stack trace</div>
<div className={styles.tableScroll}>
<DataTable
columns={columns}
data={rows}
onRowClick={handleRowClick}
selectedId={selectedId}
sortable
flush
onSortChange={handleSortChange}
rowAccent={handleRowAccent}
expandedContent={(row: Row) =>
row.errorMessage ? (
<div className={styles.inlineError}>
<span className={styles.inlineErrorIcon}><AlertTriangle size={14} /></span>
<div>
<div className={styles.inlineErrorText}>{row.errorMessage}</div>
<div className={styles.inlineErrorHint}>Click to view full stack trace</div>
</div>
</div>
</div>
) : null
}
/>
) : null
}
/>
</div>
</div>
</div>
</>