diff --git a/.changelog/1937.trivial.md b/.changelog/1937.trivial.md new file mode 100644 index 0000000000..7225b792a3 --- /dev/null +++ b/.changelog/1937.trivial.md @@ -0,0 +1 @@ +Reduce loading text size diff --git a/src/app/components/Persist/PersistLoadingGate.tsx b/src/app/components/Persist/PersistLoadingGate.tsx index 8613f77592..2f88896322 100644 --- a/src/app/components/Persist/PersistLoadingGate.tsx +++ b/src/app/components/Persist/PersistLoadingGate.tsx @@ -24,7 +24,7 @@ export function PersistLoadingGate(props: Props) { - {t('persist.loading', 'Loading')} + {t('persist.loading', 'Loading')} )} diff --git a/src/app/components/TransactionModal/index.tsx b/src/app/components/TransactionModal/index.tsx index 814197d8b0..3c4ade54f6 100644 --- a/src/app/components/TransactionModal/index.tsx +++ b/src/app/components/TransactionModal/index.tsx @@ -107,19 +107,19 @@ export function TransactionModal() { {step === TransactionStep.Building && ( - {t('transaction.step.building', 'Building transaction')} + {t('transaction.step.building', 'Building transaction')} )} {step === TransactionStep.Signing && ( - {t('transaction.step.signing', 'Signing transaction')} + {t('transaction.step.signing', 'Signing transaction')} )} {step === TransactionStep.Submitting && ( - {t('transaction.step.submitting', 'Submitting transaction')} + {t('transaction.step.submitting', 'Submitting transaction')} )} diff --git a/src/app/components/TransactionTypeFormatter/index.tsx b/src/app/components/TransactionTypeFormatter/index.tsx index b51534ccee..86b1bf41dc 100644 --- a/src/app/components/TransactionTypeFormatter/index.tsx +++ b/src/app/components/TransactionTypeFormatter/index.tsx @@ -1,7 +1,6 @@ import { NewTransactionType } from 'app/state/transaction/types' import React, { memo } from 'react' import { useTranslation } from 'react-i18next' -import { Box } from 'grommet/es6/components/Box' import { Text } from 'grommet/es6/components/Text' interface Props { @@ -20,13 +19,13 @@ export const TransactionTypeFormatter = memo((props: Props) => { const typeMessage = typeMap[type] return ( - + {type} - ({typeMessage}) +  ({typeMessage}) - + ) }) diff --git a/src/app/pages/AccountPage/index.tsx b/src/app/pages/AccountPage/index.tsx index cdec66ecf7..c44e60222b 100644 --- a/src/app/pages/AccountPage/index.tsx +++ b/src/app/pages/AccountPage/index.tsx @@ -108,9 +108,9 @@ export function AccountPage(props: AccountPageProps) { {active && } {(stake.loading || account.loading) && ( - + - {t('account.loading', 'Loading account')} + {t('account.loading', 'Loading account')} )} diff --git a/src/app/pages/OpenWalletPage/Features/ImportAccountsSelectionModal/index.tsx b/src/app/pages/OpenWalletPage/Features/ImportAccountsSelectionModal/index.tsx index 7e9ebf9ec6..bfdb92d356 100644 --- a/src/app/pages/OpenWalletPage/Features/ImportAccountsSelectionModal/index.tsx +++ b/src/app/pages/OpenWalletPage/Features/ImportAccountsSelectionModal/index.tsx @@ -112,7 +112,7 @@ export function ImportAccountsSelectionModal(props: ImportAccountsSelectionModal - + diff --git a/src/app/pages/ParaTimesPage/ParaTimeFormFooter/index.tsx b/src/app/pages/ParaTimesPage/ParaTimeFormFooter/index.tsx index 135e2be873..775d3387ad 100644 --- a/src/app/pages/ParaTimesPage/ParaTimeFormFooter/index.tsx +++ b/src/app/pages/ParaTimesPage/ParaTimeFormFooter/index.tsx @@ -44,7 +44,7 @@ export const ParaTimeFormFooter = ({ label={secondaryLabel || t('paraTimes.footer.back', 'Back')} onClick={secondaryAction} plain - style={{ textAlign: 'center', fontSize: '14px', textDecoration: 'underline', color: 'brand' }} + style={{ textAlign: 'center', fontSize: '14px', textDecoration: 'underline' }} /> )}