Skip to content

Commit

Permalink
fix(wallet): Portfolio Banner Padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglashdaniel committed Apr 27, 2023
1 parent 839d3e8 commit 857034c
Showing 1 changed file with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ import { LocalIpfsNodeScreen } from '../../local-ipfs-node/local-ipfs-node'
import { InspectNftsScreen } from '../../inspect-nfts/inspect-nfts'
import { WalletPageActions } from '../../../../page/actions'
import { useNftPin } from '../../../../common/hooks/nft-pin'
import { BannerWrapper } from '../../../shared/style'
import {
BannerWrapper,
Column
} from '../../../shared/style'
import { NftIpfsBanner } from '../../nft-ipfs-banner/nft-ipfs-banner'
import { useSafeWalletSelector } from '../../../../common/hooks/use-safe-selector'
import { WalletSelectors } from '../../../../common/selectors'
Expand Down Expand Up @@ -200,7 +203,13 @@ const CryptoView = (props: Props) => {
<Switch>
{/* Portfolio */}
<Route path={WalletRoutes.AddAssetModal} exact>{/* Show portfolio overview in background */}
{banners}
<Column
fullWidth={true}
padding='20px 20px 0px 20px'
>
{banners}
{ipfsBanner}
</Column>
<PortfolioOverview />
</Route>

Expand All @@ -209,8 +218,13 @@ const CryptoView = (props: Props) => {
</Route>

<Route path={WalletRoutes.Portfolio}>
{banners}
{ipfsBanner}
<Column
fullWidth={true}
padding='20px 20px 0px 20px'
>
{banners}
{ipfsBanner}
</Column>
<PortfolioOverview />
</Route>

Expand Down

0 comments on commit 857034c

Please sign in to comment.