With play money on numeric & center text

This commit is contained in:
Ian Philips 2022-08-25 12:06:42 -06:00 committed by mantikoros
parent dd42b641ac
commit 346d24868e

View File

@ -75,7 +75,7 @@ export const ContractOverview = (props: {
<Col>
<BetButton contract={contract as CPMMBinaryContract} />
{!user && (
<div className="mt-1 text-sm text-gray-500">
<div className="mt-1 text-center text-sm text-gray-500">
(with play money!)
</div>
)}
@ -85,7 +85,16 @@ export const ContractOverview = (props: {
) : isPseudoNumeric ? (
<Row className="items-center justify-between gap-4 xl:hidden">
<PseudoNumericResolutionOrExpectation contract={contract} />
{tradingAllowed(contract) && <BetButton contract={contract} />}
{tradingAllowed(contract) && (
<Col>
<BetButton contract={contract} />
{!user && (
<div className="mt-1 text-center text-sm text-gray-500">
(with play money!)
</div>
)}
</Col>
)}
</Row>
) : (
(outcomeType === 'FREE_RESPONSE' ||