From b4e9ebd9ccfb39adc36a6f797601f6796c73ca53 Mon Sep 17 00:00:00 2001 From: Pierre Dommerc Date: Mon, 13 Jun 2022 11:03:16 +0200 Subject: [PATCH] [wallet] style changes to match new design and layout (#1336) * feat(wallet): style changes to match new design * fix(wallet): style * feat(wallet): remove useless color * feat(wallet): some style changes in balance page, show entire address set a small size to avatar account set vertical alignment to start for page cards * feat(wallet): fix padding --- nym-wallet/src/components/Accounts/AccountAvatar.tsx | 2 +- nym-wallet/src/components/Nav.tsx | 4 ++-- nym-wallet/src/layouts/AppLayout.tsx | 4 ++-- nym-wallet/src/layouts/PageLayout.tsx | 5 ++++- nym-wallet/src/pages/balance/balance.tsx | 2 +- nym-wallet/src/theme/mui-theme.d.ts | 5 ++++- nym-wallet/src/theme/theme.tsx | 12 +++++++++--- 7 files changed, 23 insertions(+), 11 deletions(-) diff --git a/nym-wallet/src/components/Accounts/AccountAvatar.tsx b/nym-wallet/src/components/Accounts/AccountAvatar.tsx index 95d1fcfd16..5f71df533e 100644 --- a/nym-wallet/src/components/Accounts/AccountAvatar.tsx +++ b/nym-wallet/src/components/Accounts/AccountAvatar.tsx @@ -4,5 +4,5 @@ import stc from 'string-to-color'; import { TAccount } from 'src/types'; export const AccountAvatar = ({ name }: Pick) => ( - {name?.split('')[0]} + {name?.split('')[0]} ); diff --git a/nym-wallet/src/components/Nav.tsx b/nym-wallet/src/components/Nav.tsx index 6cc07ab359..6afbca3215 100644 --- a/nym-wallet/src/components/Nav.tsx +++ b/nym-wallet/src/components/Nav.tsx @@ -82,14 +82,14 @@ export const Nav = () => { diff --git a/nym-wallet/src/layouts/AppLayout.tsx b/nym-wallet/src/layouts/AppLayout.tsx index 2cb54855c6..028c4c10e7 100644 --- a/nym-wallet/src/layouts/AppLayout.tsx +++ b/nym-wallet/src/layouts/AppLayout.tsx @@ -24,7 +24,7 @@ export const ApplicationLayout: React.FC = ({ children }) => { > t.palette.nym.nymWallet.nav.background, overflow: 'auto', py: 3, px: 5, @@ -35,7 +35,7 @@ export const ApplicationLayout: React.FC = ({ children }) => { > - +