From a5f21ed1f8fd8df52ce94c569139d0969d43e9a5 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Tue, 6 Sep 2022 02:10:31 -0700 Subject: [PATCH] fix: styles on staking and nodes page (#1252) --- .../components/token-input/token-input.tsx | 20 +++++++++---------- .../staking/associate/associate-page.tsx | 2 +- .../token/src/routes/staking/staking-node.tsx | 6 +++--- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/apps/token/src/components/token-input/token-input.tsx b/apps/token/src/components/token-input/token-input.tsx index 0a22d703a..d8c8c9f31 100644 --- a/apps/token/src/components/token-input/token-input.tsx +++ b/apps/token/src/components/token-input/token-input.tsx @@ -37,7 +37,7 @@ export const AmountInput = ({ }) => { const { t } = useTranslation(); return ( -
+
{maximum && ( -
- setAmount(maximum.toString())} - data-testid="token-amount-use-maximum" - > - {t('Use maximum')} - -
+ setAmount(maximum.toString())} + data-testid="token-amount-use-maximum" + > + {t('Use maximum')} + )}
); @@ -169,7 +167,7 @@ export const TokenInput = ({ } else if (requireApproval) { approveContent = ( -

{`${currency} are approved for staking`}

+

{`${currency} are approved for staking`}

); } @@ -188,7 +186,7 @@ export const TokenInput = ({ currency={currency} /> - {approveContent ?
{approveContent}
: null} + {approveContent ?
{approveContent}
: null}