fix(frontend): reset colour and change size of member card links
This commit is contained in:
parent
4514216405
commit
3f0a94af3d
2 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,7 @@ export default function MemberCard({ user, member }: { user: PartialUser; member
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
<p className="m-2">
|
<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.display_name ?? member.name}
|
||||||
{member.unlisted === true && (
|
{member.unlisted === true && (
|
||||||
<>
|
<>
|
||||||
|
|
|
@ -56,12 +56,14 @@ export default function UserPage() {
|
||||||
<Pagination className="justify-content-center">
|
<Pagination className="justify-content-center">
|
||||||
<Pagination.Prev
|
<Pagination.Prev
|
||||||
as={Link}
|
as={Link}
|
||||||
|
// @ts-expect-error using as=Link causes an error here, even though it runs completely fine
|
||||||
to={`/@${user.username}?page=${currentPage - 1}`}
|
to={`/@${user.username}?page=${currentPage - 1}`}
|
||||||
disabled={currentPage === 0}
|
disabled={currentPage === 0}
|
||||||
/>
|
/>
|
||||||
{paginationItems}
|
{paginationItems}
|
||||||
<Pagination.Next
|
<Pagination.Next
|
||||||
as={Link}
|
as={Link}
|
||||||
|
// @ts-expect-error using as=Link causes an error here, even though it runs completely fine
|
||||||
to={`/@${user.username}?page=${currentPage + 1}`}
|
to={`/@${user.username}?page=${currentPage + 1}`}
|
||||||
disabled={currentPage === pageCount - 1}
|
disabled={currentPage === pageCount - 1}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue