Move bet payouts to the top right of the card
This commit is contained in:
parent
eaa9651c82
commit
ec516ee41f
|
@ -91,6 +91,8 @@ function MyContractBets(props: { contract: Contract; bets: Bet[] }) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="p-6 bg-white card card-body shadow-xl">
|
<div className="p-6 bg-white card card-body shadow-xl">
|
||||||
|
<Row>
|
||||||
|
<Col className="w-2/3">
|
||||||
<Link href={path(contract)}>
|
<Link href={path(contract)}>
|
||||||
<a>
|
<a>
|
||||||
<div className="font-medium text-indigo-700 mb-1 hover:underline hover:decoration-indigo-400 hover:decoration-2">
|
<div className="font-medium text-indigo-700 mb-1 hover:underline hover:decoration-indigo-400 hover:decoration-2">
|
||||||
|
@ -114,12 +116,13 @@ function MyContractBets(props: { contract: Contract; bets: Bet[] }) {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Row>
|
</Row>
|
||||||
|
</Col>
|
||||||
|
|
||||||
<Spacer h={6} />
|
{/* Show this at the end of the flex */}
|
||||||
|
<MyBetsSummary contract={contract} bets={bets} className="ml-auto" />
|
||||||
|
</Row>
|
||||||
|
|
||||||
<MyBetsSummary contract={contract} bets={bets} />
|
<Spacer h={8} />
|
||||||
|
|
||||||
<Spacer h={6} />
|
|
||||||
|
|
||||||
<ContractBetsTable contract={contract} bets={bets} />
|
<ContractBetsTable contract={contract} bets={bets} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user