Show Buy buttons next to prob on mobile

This commit is contained in:
Austin Chen 2022-01-26 16:44:32 -06:00
parent d9c67e8d49
commit 549926a323

View File

@ -18,6 +18,7 @@ import { TweetButton } from './tweet-button'
import { Bet } from '../../common/bet' import { Bet } from '../../common/bet'
import { Comment } from '../../common/comment' import { Comment } from '../../common/comment'
import { TagsInput } from './tags-input' import { TagsInput } from './tags-input'
import BetRow from './bet-row'
export const ContractOverview = (props: { export const ContractOverview = (props: {
contract: Contract contract: Contract
@ -51,12 +52,16 @@ export const ContractOverview = (props: {
<Linkify text={contract.question} /> <Linkify text={contract.question} />
</div> </div>
<ResolutionOrChance <Row className="justify-between gap-4">
className="md:hidden" <ResolutionOrChance
resolution={resolution} className="md:hidden"
probPercent={probPercent} resolution={resolution}
large probPercent={probPercent}
/> large
/>
<BetRow contract={contract} className="md:hidden" />
</Row>
<ContractDetails contract={contract} /> <ContractDetails contract={contract} />
</Col> </Col>