fix(frontend): reset colour and change size of member card links

This commit is contained in:
sam 2024-09-29 20:37:30 +02:00
parent 4514216405
commit 3f0a94af3d
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 3 additions and 1 deletions

View file

@ -47,7 +47,7 @@ export default function MemberCard({ user, member }: { user: PartialUser; member
/>
</Link>
<p className="m-2">
<Link to={`/@${user.username}/${member.name}`}>
<Link to={`/@${user.username}/${member.name}`} className="text-reset fs-5 text-break">
{member.display_name ?? member.name}
{member.unlisted === true && (
<>

View file

@ -56,12 +56,14 @@ export default function UserPage() {
<Pagination className="justify-content-center">
<Pagination.Prev
as={Link}
// @ts-expect-error using as=Link causes an error here, even though it runs completely fine
to={`/@${user.username}?page=${currentPage - 1}`}
disabled={currentPage === 0}
/>
{paginationItems}
<Pagination.Next
as={Link}
// @ts-expect-error using as=Link causes an error here, even though it runs completely fine
to={`/@${user.username}?page=${currentPage + 1}`}
disabled={currentPage === pageCount - 1}
/>