Tidy up payout markup

This commit is contained in:
Marshall Polaris 2022-05-15 13:49:26 -07:00
parent 949e368fd3
commit 736048effb

View File

@ -350,12 +350,12 @@ function BuyPanel(props: {
{dpmTooltip && <InfoTooltip text={dpmTooltip} />} {dpmTooltip && <InfoTooltip text={dpmTooltip} />}
</Row> </Row>
<Row className="flex-wrap items-end justify-end gap-2"> <div>
<span className="whitespace-nowrap"> <span className="mr-2 whitespace-nowrap">
{formatMoney(currentPayout)} {formatMoney(currentPayout)}
</span> </span>
<span>(+{currentReturnPercent})</span> (+{currentReturnPercent})
</Row> </div>
</Row> </Row>
</Col> </Col>