Fixed phantom shadow when opening modal window

This commit is contained in:
Oreo Oreoniv
2020-10-05 11:36:47 +03:00
committed by GitHub
parent e1e079bc12
commit 0fa503f923

View File

@@ -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`};