diff --git a/packages/apps/src/Menu/index.tsx b/packages/apps/src/Menu/index.tsx index 4ce73d21c4..666d7abbd2 100644 --- a/packages/apps/src/Menu/index.tsx +++ b/packages/apps/src/Menu/index.tsx @@ -170,6 +170,17 @@ export default React.memo(styled(Menu)` &.menuBg, .menuBg { + &:before { + background; #fff; + bottom: 0; + content: ' '; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: -2; + } + &:before { bottom: 0; content: ' '; diff --git a/packages/page-accounts/src/Accounts/index.tsx b/packages/page-accounts/src/Accounts/index.tsx index ef3eb27296..927330668b 100644 --- a/packages/page-accounts/src/Accounts/index.tsx +++ b/packages/page-accounts/src/Accounts/index.tsx @@ -61,7 +61,7 @@ async function queryLedger (): Promise { function Overview ({ className = '', onStatusChange }: Props): React.ReactElement { const { t } = useTranslation(); const { api } = useApi(); - const { allAccounts } = useAccounts(); + const { allAccounts, hasAccounts } = useAccounts(); const { isIpfs } = useIpfs(); const [isCreateOpen, toggleCreate] = useToggle(); const [isImportOpen, toggleImport] = useToggle(); @@ -244,7 +244,7 @@ function Overview ({ className = '', onStatusChange }: Props): React.ReactElemen /> ("You don't have any accounts. Some features are currently hidden and will only become available once you have accounts.")} + empty={(!hasAccounts || (!isLoading && sortedAccountsWithDelegation)) && t("You don't have any accounts. Some features are currently hidden and will only become available once you have accounts.")} filter={filter} footer={footer} header={headerRef.current}