allow modal scrolling on dekstop (#1910)
This commit is contained in:
parent
14bac770b6
commit
6589c41800
@ -30,7 +30,7 @@ const StyledDialogContent = styled(({ minHeight, maxHeight, mobile, isOpen, ...r
|
|||||||
)).attrs({
|
)).attrs({
|
||||||
'aria-label': 'dialog',
|
'aria-label': 'dialog',
|
||||||
})`
|
})`
|
||||||
overflow-y: ${({ mobile }) => (mobile ? 'scroll' : 'hidden')};
|
overflow-y: 'scrol';
|
||||||
|
|
||||||
&[data-reach-dialog-content] {
|
&[data-reach-dialog-content] {
|
||||||
margin: 0 0 2rem 0;
|
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)};
|
box-shadow: 0 4px 8px 0 ${({ theme }) => transparentize(0.95, theme.shadow1)};
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
width: 50vw;
|
width: 50vw;
|
||||||
overflow-y: ${({ mobile }) => (mobile ? 'scroll' : 'hidden')};
|
overflow-y: 'scroll';
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
align-self: ${({ mobile }) => (mobile ? 'flex-end' : 'center')};
|
align-self: ${({ mobile }) => (mobile ? 'flex-end' : 'center')};
|
||||||
|
Loading…
Reference in New Issue
Block a user