Skip to content

Commit e9b8d22

Browse files
committed
fix: use correct styles on max leverage label
1 parent 7ace56c commit e9b8d22

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

ui/pages/perps/market-list/components/market-row/market-row.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ export const MarketRow: React.FC<MarketRowProps> = ({
117117
gap={2}
118118
>
119119
<Text fontWeight={FontWeight.Medium}>{displaySymbol}</Text>
120-
<Text variant={TextVariant.BodySm} color={TextColor.TextAlternative}>
121-
{market.maxLeverage}
122-
</Text>
120+
<span className="shrink-0 rounded-md bg-background-muted px-1.5">
121+
<Text variant={TextVariant.BodyXs} color={TextColor.TextAlternative}>
122+
{market.maxLeverage}
123+
</Text>
124+
</span>
123125
</Box>
124126
<Text variant={TextVariant.BodySm} color={TextColor.TextAlternative}>
125127
{metricValue}

0 commit comments

Comments
 (0)