funding table asset styling

This commit is contained in:
saml33 2024-05-08 15:04:35 +10:00
parent 40670f3cfb
commit 951b3fc796
1 changed files with 7 additions and 3 deletions

View File

@ -199,9 +199,11 @@ const FundingTable = () => {
<div className="flex items-center justify-end">
{marketOrBank ? (
marketOrBank instanceof PerpMarket ? (
<MarketLogos market={marketOrBank} />
<MarketLogos market={marketOrBank} size="small" />
) : (
<TokenLogo bank={marketOrBank} />
<div className="mr-1.5">
<TokenLogo bank={marketOrBank} size={16} />
</div>
)
) : null}
<p className="font-body">{asset}</p>
@ -261,7 +263,9 @@ const FundingTable = () => {
marketOrBank instanceof PerpMarket ? (
<MarketLogos market={marketOrBank} size="small" />
) : (
<TokenLogo bank={marketOrBank} size={16} />
<div className="mr-1.5">
<TokenLogo bank={marketOrBank} size={16} />
</div>
)
) : null}
<p className="text-right">{asset}</p>