mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Adjust table pagination responsiveness
This commit is contained in:
@@ -129,13 +129,12 @@ export const TablePagination = ({ tableRef, pagination, setPagination }: TablePa
|
||||
</Popover>
|
||||
<Pagination
|
||||
noWrap
|
||||
$hideDividers={!containerQuery.isMd}
|
||||
$hideDividers={!containerQuery.isSm}
|
||||
boundaries={1}
|
||||
page={pagination.currentPage + 1}
|
||||
radius="sm"
|
||||
siblings={1}
|
||||
siblings={containerQuery.isMd ? 2 : containerQuery.isSm ? 1 : 0}
|
||||
total={pagination.totalPages - 1}
|
||||
withControls={containerQuery.isSm}
|
||||
onChange={handlePagination}
|
||||
/>
|
||||
</Group>
|
||||
|
||||
Reference in New Issue
Block a user