mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-01 13:47:27 +02:00
fix: always hide horizontal overflow
Set Y scroll to auto in compact and modal modes.
This commit is contained in:
parent
2d519469d4
commit
6455f8947f
@ -47,7 +47,8 @@ const StyledContainer = styled('section', {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
margin: '0 auto',
|
margin: '0 auto',
|
||||||
overflow: modal || compact ? 'unset' : 'hidden',
|
overflowX: 'hidden',
|
||||||
|
overflowY: modal || compact ? 'auto' : 'hidden',
|
||||||
[theme.breakpoints.down(1100)]: {
|
[theme.breakpoints.down(1100)]: {
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user