Skip to content

Commit

Permalink
ui(orderbook) improve readablity of balances in tooltip (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
nischal-shetty2 authored Aug 24, 2024
1 parent 830ce59 commit 768b03c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Orderbook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,12 @@ const renderOrderAsRow = (item: OrderTableRow, settings: any) => {
}}
overlay={(props) => (
<rb.Tooltip {...props}>
<Balance valueString={String(item.bondValue.amount)} convertToUnit={BTC} showBalance={true} />
<Balance
valueString={String(item.bondValue.amount)}
colored={false}
convertToUnit={BTC}
showBalance={true}
/>
<div className="small">
{item.bondValue.displayLocktime} ({item.bondValue.displayExpiresIn})
</div>
Expand Down

0 comments on commit 768b03c

Please sign in to comment.