diff --git a/src/components/PositionListItem/index.tsx b/src/components/PositionListItem/index.tsx index 1747684fbb..c7aec2a289 100644 --- a/src/components/PositionListItem/index.tsx +++ b/src/components/PositionListItem/index.tsx @@ -77,7 +77,8 @@ const DoubleArrow = styled.span` color: ${({ theme }) => theme.textTertiary}; ` -const RangeText = styled.span` +const RangeText = styled.div` + word-break: break-word; padding: 0.25rem 0.25rem; border-radius: 8px; ` @@ -251,11 +252,13 @@ export default function PositionListItem({ Min: - {formatTickPrice({ - price: priceLower, - atLimit: tickAtLimit, - direction: Bound.LOWER, - })}{' '} + + {formatTickPrice({ + price: priceLower, + atLimit: tickAtLimit, + direction: Bound.LOWER, + })}{' '} + per {' '} @@ -270,11 +273,13 @@ export default function PositionListItem({ Max: - {formatTickPrice({ - price: priceUpper, - atLimit: tickAtLimit, - direction: Bound.UPPER, - })}{' '} + + {formatTickPrice({ + price: priceUpper, + atLimit: tickAtLimit, + direction: Bound.UPPER, + })}{' '} + per{' '}