Skip to content

Commit

Permalink
fix: PageContent bodyContainer overflowX (#2852)
Browse files Browse the repository at this point in the history
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
#2811, more specifically:

https://github.com/Unleash/unleash/pull/2811/files#diff-a1c10fdcd539d988f74d4c3742cc6b8844152999a6c7e509ed8b1765c604524fL491
  • Loading branch information
nunogois committed Jan 10, 2023
1 parent f3f3a59 commit 8964c3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Expand Up @@ -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',
Expand Down
Expand Up @@ -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"
Expand Down

0 comments on commit 8964c3c

Please sign in to comment.