Skip to content

Commit

Permalink
Fix width and padding of the hide token modal in popup view
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsekulic committed Oct 18, 2021
1 parent 71f9156 commit 260194c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/components/app/modals/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,13 @@ const MODALS = {
top: getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '52vh' : '36.5vh',
},
laptopModalStyle: {
width: '449px',
width:
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '357px' : '449px',
top: 'calc(33% + 45px)',
paddingLeft:
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '16px' : null,
paddingRight:
getEnvironmentType() === ENVIRONMENT_TYPE_POPUP ? '16px' : null,
},
},

Expand Down

0 comments on commit 260194c

Please sign in to comment.