From b010bd7e9c9685ee4a0a4940d1b7b5a5a72a4de9 Mon Sep 17 00:00:00 2001 From: gregs Date: Wed, 26 Apr 2023 11:27:14 -0300 Subject: [PATCH] import wallet text alignment (#477) --- src/core/languages/_english.json | 4 ++-- .../components/ImportWallet/ImportWallet.tsx | 21 ++++------------- .../popup/pages/importOrConnect/index.tsx | 23 ++++--------------- 3 files changed, 11 insertions(+), 37 deletions(-) diff --git a/src/core/languages/_english.json b/src/core/languages/_english.json index 6c65663ff0..4c9f3f7e23 100644 --- a/src/core/languages/_english.json +++ b/src/core/languages/_english.json @@ -430,7 +430,7 @@ "phrase_copied": "Recovery Phrase Copied" }, "import_or_connect": { - "title": "Import or Connect", + "title": "Restore or Connect", "explanation": "Store these words can access your entire wallet! Store them somewhere safe never share them.", "import_wallet": "Import with a Secret Recovery Phrase or Private Key", "import_wallet_description": "Add a wallet using your Secret Recovery Phrase or a Private Key.", @@ -746,4 +746,4 @@ "wallet_watching_mode": "This wallet is currently in 'Watching' mode", "coming_soon": "Coming Soon!" } -} \ No newline at end of file +} diff --git a/src/entries/popup/components/ImportWallet/ImportWallet.tsx b/src/entries/popup/components/ImportWallet/ImportWallet.tsx index b4376e1d42..1115f3a9f7 100644 --- a/src/entries/popup/components/ImportWallet/ImportWallet.tsx +++ b/src/entries/popup/components/ImportWallet/ImportWallet.tsx @@ -137,23 +137,10 @@ const ImportWallet = ({ onboarding = false }: { onboarding?: boolean }) => { return ( <> - - - - {i18n.t('import_wallet.title')} - - - + + {i18n.t('import_wallet.title')} + + - - - - {i18n.t('import_or_connect.title')} - - - + + {i18n.t('import_or_connect.title')} + +