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">
<Row className="items-center justify-between text-sm">
<div className="text-gray-500">Probability</div>
<Row>
<div>{formatPercent(initialProb)}</div>
<div className="mx-2"></div>
<div>{formatPercent(resultProb)}</div>
</Row>
<div>
{formatPercent(initialProb)}
<span className="mx-2"></span>
{formatPercent(resultProb)}
</div>
</Row>
<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">
<Row className="items-center justify-between text-sm">
<div className="text-gray-500">Probability</div>
<Row>
<div>{formatPercent(initialProb)}</div>
<div className="mx-2"></div>
<div>{formatPercent(resultProb)}</div>
</Row>
<div>
{formatPercent(initialProb)}
<span className="mx-2"></span>
{formatPercent(resultProb)}
</div>
</Row>
</Col>