From 6589c418006fd1921be6f743bca1f8d417da0fc9 Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Thu, 24 Jun 2021 10:04:07 -0700 Subject: [PATCH] allow modal scrolling on dekstop (#1910) --- src/components/Modal/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx index 69d95631d8..c8435135dc 100644 --- a/src/components/Modal/index.tsx +++ b/src/components/Modal/index.tsx @@ -30,7 +30,7 @@ const StyledDialogContent = styled(({ minHeight, maxHeight, mobile, isOpen, ...r )).attrs({ 'aria-label': 'dialog', })` - overflow-y: ${({ mobile }) => (mobile ? 'scroll' : 'hidden')}; + overflow-y: 'scrol'; &[data-reach-dialog-content] { margin: 0 0 2rem 0; @@ -39,7 +39,7 @@ const StyledDialogContent = styled(({ minHeight, maxHeight, mobile, isOpen, ...r box-shadow: 0 4px 8px 0 ${({ theme }) => transparentize(0.95, theme.shadow1)}; padding: 0px; width: 50vw; - overflow-y: ${({ mobile }) => (mobile ? 'scroll' : 'hidden')}; + overflow-y: 'scroll'; overflow-x: hidden; align-self: ${({ mobile }) => (mobile ? 'flex-end' : 'center')};