1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix width and padding of the hide token modal in popup view (#12381)

This commit is contained in:
filipsekulic 2021-10-18 16:58:20 +02:00 committed by GitHub
parent 52641efa08
commit cca852d5ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,8 +184,13 @@ const MODALS = {
top: getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh', top: getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
}, },
laptopModalStyle: { laptopModalStyle: {
width: '449px', width:
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '357px' : '449px',
top: 'calc(33% + 45px)', top: 'calc(33% + 45px)',
paddingLeft:
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '16px' : null,
paddingRight:
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '16px' : null,
}, },
}, },