fix: adjust table height and button position in DatasetTable component (#16390)

This commit is contained in:
chanx
2026-06-26 18:46:55 +08:00
committed by GitHub
parent 638b59fbcd
commit 10140b1d02

View File

@@ -128,7 +128,7 @@ export function DatasetTable({
return (
<div className="w-full">
<Table rootClassName="max-h-[calc(100vh-222px)]">
<Table rootClassName="max-h-[calc(100vh-280px)]">
<TableHeader>
{table.getHeaderGroups().map((headerGroup) => (
<TableRow key={headerGroup.id}>
@@ -176,7 +176,7 @@ export function DatasetTable({
)}
</TableBody>
</Table>
<div className="flex items-center justify-end py-4 absolute bottom-3 right-3">
<div className="flex items-center justify-end py-4 absolute bottom-3 right-8">
<div className="space-x-2">
<RAGFlowPagination
{...pick(pagination, 'current', 'pageSize')}