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 864800b commit a0eba2d
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 a0eba2d

Please sign in to comment.