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