fix(ui): pin DataTable pagination to bottom, table body scrolls independently
Some checks failed
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / deploy-feature (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
hsiegeln
2026-03-28 14:56:23 +01:00
parent 048f6566a9
commit b863370511
2 changed files with 29 additions and 23 deletions

View File

@@ -25,7 +25,15 @@
overflow: hidden; overflow: hidden;
} }
.tableScroll { /* 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 {
flex: 1; flex: 1;
min-height: 0; min-height: 0;
overflow-y: auto; overflow-y: auto;

View File

@@ -267,7 +267,6 @@ export default function Dashboard() {
</div> </div>
</div> </div>
<div className={styles.tableScroll}>
<DataTable <DataTable
columns={columns} columns={columns}
data={rows} data={rows}
@@ -291,7 +290,6 @@ export default function Dashboard() {
/> />
</div> </div>
</div> </div>
</div>
</> </>
) )
} }