diff --git a/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx b/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx index edc27227a7..5b15461293 100644 --- a/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx @@ -70,6 +70,15 @@ const subTableContainer = css` .ant-table-thead .ant-table-cell { font-weight: normal; } + .ant-pagination { + position: absolute; + right: 0px; + bottom: 0px; + } + .ant-table-footer { + margin-top: 10px; + background: inherit; + } `; const tableClassName = css` @@ -252,37 +261,39 @@ export const SubTable: any = observer( emptyText: {field.editable ? t('Please add or select record') : t('No data')}, }} enableIndexĂColumn={enableIndexĂColumn !== false} + footer={() => ( +