fix: affix hides pagination on mobile (#2491)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user