From cca852d5ada8427a27deaebe27cbedc5b4e0a590 Mon Sep 17 00:00:00 2001 From: filipsekulic Date: Mon, 18 Oct 2021 16:58:20 +0200 Subject: [PATCH] Fix width and padding of the hide token modal in popup view (#12381) --- ui/components/app/modals/modal.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/components/app/modals/modal.js b/ui/components/app/modals/modal.js index cd1d4c3ab..16a5d4807 100644 --- a/ui/components/app/modals/modal.js +++ b/ui/components/app/modals/modal.js @@ -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, }, },