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>
|
||||
<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 && (
|
||||
<>
|
||||
|
|
|
@ -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}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue