Commit 02e5478c authored by S A R A N's avatar S A R A N Committed by GitHub

fix: approve button font size (#5187)

* fix: approve button font size
Co-authored-by: default avatar0xsaranonearth <saran.s@pillow.fund>
parent 6520dd33
......@@ -677,7 +677,7 @@ export default function Swap() {
}
>
<AutoRow justify="space-between" style={{ flexWrap: 'nowrap' }} height="20px">
<span style={{ display: 'flex', alignItems: 'center' }}>
<ThemedText.SubHeader width="100%" textAlign="center">
{/* we need to shorten this string on mobile */}
{approvalState === ApprovalState.APPROVED ||
signatureState === UseERC20PermitState.SIGNED ? (
......@@ -685,7 +685,7 @@ export default function Swap() {
) : (
<Trans>Allow the Uniswap Protocol to use your {currencies[Field.INPUT]?.symbol}</Trans>
)}
</span>
</ThemedText.SubHeader>
{approvalPending || approvalState === ApprovalState.PENDING ? (
<Loader stroke={theme.white} />
) : (approvalSubmitted && approvalState === ApprovalState.APPROVED) ||
......
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