1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00

fix: always hide horizontal overflow

Set Y scroll to auto in compact and modal modes.
This commit is contained in:
Thomas Heartman 2024-05-23 07:50:39 +02:00
parent 2d519469d4
commit 6455f8947f
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -47,7 +47,8 @@ const StyledContainer = styled('section', {
width: '100%',
display: 'flex',
margin: '0 auto',
overflow: modal || compact ? 'unset' : 'hidden',
overflowX: 'hidden',
overflowY: modal || compact ? 'auto' : 'hidden',
[theme.breakpoints.down(1100)]: {
flexDirection: 'column',
minHeight: 0,