Tidy up probability change markup

This commit is contained in:
Marshall Polaris 2022-05-15 13:40:15 -07:00
parent c9f3644988
commit 949e368fd3

View File

@ -321,11 +321,11 @@ function BuyPanel(props: {
<Col className="mt-3 w-full gap-3"> <Col className="mt-3 w-full gap-3">
<Row className="items-center justify-between text-sm"> <Row className="items-center justify-between text-sm">
<div className="text-gray-500">Probability</div> <div className="text-gray-500">Probability</div>
<Row> <div>
<div>{formatPercent(initialProb)}</div> {formatPercent(initialProb)}
<div className="mx-2"></div> <span className="mx-2"></span>
<div>{formatPercent(resultProb)}</div> {formatPercent(resultProb)}
</Row> </div>
</Row> </Row>
<Row className="items-center justify-between gap-2 text-sm"> <Row className="items-center justify-between gap-2 text-sm">
@ -459,11 +459,11 @@ export function SellPanel(props: {
<Col className="mt-3 w-full gap-3"> <Col className="mt-3 w-full gap-3">
<Row className="items-center justify-between text-sm"> <Row className="items-center justify-between text-sm">
<div className="text-gray-500">Probability</div> <div className="text-gray-500">Probability</div>
<Row> <div>
<div>{formatPercent(initialProb)}</div> {formatPercent(initialProb)}
<div className="mx-2"></div> <span className="mx-2"></span>
<div>{formatPercent(resultProb)}</div> {formatPercent(resultProb)}
</Row> </div>
</Row> </Row>
</Col> </Col>