Skip to content

Commit

Permalink
Fix padding on wallet modal
Browse files Browse the repository at this point in the history
  • Loading branch information
3mp8r3 committed Feb 7, 2022
1 parent 1791617 commit 478a791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/WalletModal/WalletModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,18 +265,18 @@ const WalletModal: React.FC<WalletModalProps> = ({
function getModalContent() {
if (error) {
return (
<Box p={2} position='relative'>
<Box position='relative'>
<Box position='absolute' top='16px' right='16px' display='flex'>
<Close style={{ cursor: 'pointer' }} onClick={toggleWalletModal} />
</Box>
<Box textAlign='center'>
<Box mt={2} textAlign='center'>
<Typography variant='subtitle2'>
{error instanceof UnsupportedChainIdError
? 'Wrong Network'
: 'Error connecting'}
</Typography>
</Box>
<Box mt={3} textAlign='center'>
<Box mt={3} mb={2} textAlign='center'>
<Typography variant='body2'>
{error instanceof UnsupportedChainIdError
? 'Please connect to the appropriate Polygon network.'
Expand Down

0 comments on commit 478a791

Please sign in to comment.