From 0fa503f9237a4ba116e8172034f6727195a7ee04 Mon Sep 17 00:00:00 2001 From: Oreo Oreoniv <28255085+zKoz210@users.noreply.github.com> Date: Mon, 5 Oct 2020 11:36:47 +0300 Subject: [PATCH] Fixed phantom shadow when opening modal window --- resources/scripts/components/elements/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/components/elements/Modal.tsx b/resources/scripts/components/elements/Modal.tsx index 2980fecd..68d6493d 100644 --- a/resources/scripts/components/elements/Modal.tsx +++ b/resources/scripts/components/elements/Modal.tsx @@ -36,7 +36,7 @@ const ModalContainer = styled.div<{ alignTop?: boolean }>` ${breakpoint('md')`margin-top: 10%`}; `}; - margin-bottom: 5%; + margin-bottom: auto; & > .close-icon { ${tw`absolute right-0 p-2 text-white cursor-pointer opacity-50 transition-all duration-150 ease-linear hover:opacity-100`};