Commit a071b8ad authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

fix: summary line break (#3486)

parent 610acb01
...@@ -29,16 +29,16 @@ function TokenValue({ input, usdc, priceImpact }: TokenValueProps) { ...@@ -29,16 +29,16 @@ function TokenValue({ input, usdc, priceImpact }: TokenValueProps) {
</ThemedText.Body2> </ThemedText.Body2>
</Row> </Row>
{usdc && ( {usdc && (
<Row justify="flex-start">
<ThemedText.Caption color="secondary" userSelect> <ThemedText.Caption color="secondary" userSelect>
<Row justify="flex-start" gap={0.25}>
${formatCurrencyAmount(usdc, 2, i18n.locale)} ${formatCurrencyAmount(usdc, 2, i18n.locale)}
{priceImpact && ( {priceImpact && (
<ThemedText.Caption color={priceImpactWarning}> <ThemedText.Caption color={priceImpactWarning}>
({toHumanReadablePriceImpact(priceImpact)}) ({toHumanReadablePriceImpact(priceImpact)})
</ThemedText.Caption> </ThemedText.Caption>
)} )}
</ThemedText.Caption>
</Row> </Row>
</ThemedText.Caption>
)} )}
</Column> </Column>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment