mirror of
https://github.com/strapi/strapi.git
synced 2025-07-30 20:39:05 +00:00
AssetDialog: Include pagination in stack for better alignment
This commit is contained in:
parent
fc42a110be
commit
1af71c1ed1
@ -140,18 +140,18 @@ export const BrowseStep = ({
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
</Stack>
|
||||
|
||||
{pagination.pageCount > 0 && (
|
||||
<Flex justifyContent="space-between">
|
||||
<PageSize pageSize={queryObject.pageSize} onChangePageSize={onChangePageSize} />
|
||||
<PaginationFooter
|
||||
activePage={queryObject.page}
|
||||
onChangePage={onChangePage}
|
||||
pagination={pagination}
|
||||
/>
|
||||
</Flex>
|
||||
)}
|
||||
{pagination.pageCount > 0 && (
|
||||
<Flex justifyContent="space-between">
|
||||
<PageSize pageSize={queryObject.pageSize} onChangePageSize={onChangePageSize} />
|
||||
<PaginationFooter
|
||||
activePage={queryObject.page}
|
||||
onChangePage={onChangePage}
|
||||
pagination={pagination}
|
||||
/>
|
||||
</Flex>
|
||||
)}
|
||||
</Stack>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user