fix: affix hides pagination on mobile (#2491)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-03-04 22:01:58 +01:00
1 parent b3e4f30312
commit 604a05f9d5
3 files changed
+6 -3

No files matched your search

@@ -61,7 +61,8 @@ export default async function AppsPage(props: AppsPageProps) {
</Stack> </Stack>
)} )}
<Group justify="end"> {/* Added margin to not hide pagination behind affix-button */}
<Group justify="end" mb={48}>
<TablePagination total={Math.ceil(totalCount / searchParams.pageSize)} /> <TablePagination total={Math.ceil(totalCount / searchParams.pageSize)} />
</Group> </Group>
</Stack> </Stack>
@@ -92,7 +92,8 @@ export default async function GroupsListPage(props: MediaListPageProps) {
</TableTbody> </TableTbody>
</Table> </Table>
<Group justify="end"> {/* Added margin to not hide pagination behind affix-button */}
<Group justify="end" mb={48}>
<TablePagination total={Math.ceil(totalCount / searchParams.pageSize)} /> <TablePagination total={Math.ceil(totalCount / searchParams.pageSize)} />
</Group> </Group>
</Stack> </Stack>
@@ -61,7 +61,8 @@ export default async function SearchEnginesPage(props: SearchEnginesPageProps) {
</Stack> </Stack>
)} )}
<Group justify="end"> {/* Added margin to not hide pagination behind affix-button */}
<Group justify="end" mb={48}>
<TablePagination total={Math.ceil(totalCount / searchParams.pageSize)} /> <TablePagination total={Math.ceil(totalCount / searchParams.pageSize)} />
</Group> </Group>
</Stack> </Stack>