fix: add padding to price outside of range (#1752)

This commit is contained in:
Henry Zhu 2021-05-30 12:51:15 -07:00 committed by GitHub
parent 4336e08233
commit d990dfdec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -198,7 +198,7 @@ export default function CurrencyInputPanel({
<FixedContainer> <FixedContainer>
<AutoColumn gap="sm" justify="center"> <AutoColumn gap="sm" justify="center">
<Lock /> <Lock />
<TYPE.label fontSize="12px" textAlign="center"> <TYPE.label fontSize="12px" textAlign="center" padding="0 12px">
<Trans>The market price is outside your specified price range. Single-asset deposit only.</Trans> <Trans>The market price is outside your specified price range. Single-asset deposit only.</Trans>
</TYPE.label> </TYPE.label>
</AutoColumn> </AutoColumn>