Fix UserPage alignment

This commit is contained in:
Austin Chen 2021-12-16 01:09:36 -08:00
parent ec516ee41f
commit aab735cd8b
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ export function BetsList(props: { user: User }) {
return (
<Col className="mt-6 gap-10">
<Row className="px-4 gap-8">
<Row className="gap-8">
<Col>
<div className="text-sm text-gray-500">Active bets</div>
<div>{formatMoney(currentBets)}</div>

View File

@ -71,12 +71,12 @@ export function UserPage(props: { user: User }) {
<div>
<UserCard user={user} />
<Title className="px-2" text="Your markets" />
<Title text="Your markets" />
<ContractsList creator={user} />
<Spacer h={4} />
<Title className="px-2" text="Your bets" />
<Title text="Your bets" />
<BetsList user={user} />
</div>
</div>