1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: PageContent bodyContainer overflowX (#2852)

https://linear.app/unleash/issue/1-546/project-overview-table-is-missing-overflow-x-auto

Fixes an issue where the PageContent body doesn't scroll horizontally
when needed.

This regression seems to have been included with
https://github.com/Unleash/unleash/pull/2811, more specifically:

https://github.com/Unleash/unleash/pull/2811/files#diff-a1c10fdcd539d988f74d4c3742cc6b8844152999a6c7e509ed8b1765c604524fL491
This commit is contained in:
Nuno Góis 2023-01-10 15:46:53 +00:00 committed by GitHub
parent f3f3a59e5e
commit 8964c3c23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -9,9 +9,7 @@ export const useStyles = makeStyles()(theme => ({
[theme.breakpoints.down('md')]: {
padding: theme.spacing(2),
},
[theme.breakpoints.down('sm')]: {
overflowX: 'auto',
},
overflowX: 'auto',
},
paddingDisabled: {
padding: '0',

View File

@ -109,7 +109,7 @@ exports[`renders an empty list correctly 1`] = `
</div>
</div>
<div
className="body css-142eaq1-bodyContainer"
className="body css-ccg7sp-bodyContainer"
>
<table
className="MuiTable-root css-1h6dscb-MuiTable-root-table"