mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-03 01:18:43 +02:00
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
21 lines
453 B
TypeScript
21 lines
453 B
TypeScript
import { makeStyles } from 'tss-react/mui';
|
|
|
|
export const useStyles = makeStyles()(theme => ({
|
|
headerPadding: {
|
|
padding: theme.spacing(2, 4),
|
|
},
|
|
bodyContainer: {
|
|
padding: theme.spacing(4),
|
|
[theme.breakpoints.down('md')]: {
|
|
padding: theme.spacing(2),
|
|
},
|
|
overflowX: 'auto',
|
|
},
|
|
paddingDisabled: {
|
|
padding: '0',
|
|
},
|
|
borderDisabled: {
|
|
border: 'none',
|
|
},
|
|
}));
|