Skip to content

Commit 895de6d

Browse files
committed
asset page alignment
1 parent b91f711 commit 895de6d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/components/Assets.tsx

+8-4
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,19 @@ export const Assets: FC = () => {
4343
<Table.Body>
4444
<Table.Row>
4545
<Table.RowHeaderCell>Wallet Balance:</Table.RowHeaderCell>
46-
<Table.Cell>{usdFormatter.format(Number(deposit.balance))}</Table.Cell>
46+
<Table.Cell className="text-right">
47+
{usdFormatter.format(Number(deposit.balance))} $
48+
</Table.Cell>
4749
</Table.Row>
4850
<Table.Row>
4951
<Table.RowHeaderCell>Orderly Balance:</Table.RowHeaderCell>
50-
<Table.Cell>{usdFormatter.format(collateral.availableBalance)}</Table.Cell>
52+
<Table.Cell className="text-right">
53+
{usdFormatter.format(collateral.availableBalance)} $
54+
</Table.Cell>
5155
</Table.Row>
5256
<Table.Row>
5357
<Table.RowHeaderCell>Unsettled PnL:</Table.RowHeaderCell>
54-
<Table.Cell>{usdFormatter.format(unsettledPnL)}</Table.Cell>
58+
<Table.Cell className="text-right">{usdFormatter.format(unsettledPnL)} $</Table.Cell>
5559
</Table.Row>
5660
</Table.Body>
5761
<Table.Row>
@@ -63,7 +67,7 @@ export const Assets: FC = () => {
6367
</Tooltip>
6468
:
6569
</Table.RowHeaderCell>
66-
<Table.Cell>{usdFormatter.format(availableWithdraw)}</Table.Cell>
70+
<Table.Cell className="text-right">{usdFormatter.format(availableWithdraw)} $</Table.Cell>
6771
</Table.Row>
6872
</Table.Root>
6973
<OrderlyDeposit

0 commit comments

Comments
 (0)