1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/common/PageContent/PageContent.styles.ts
Tymoteusz Czech 44c579f7a8 Refactor: page container (#967)
* refactor: page container

* refactor: table page header
2022-05-09 14:38:12 +02:00

30 lines
717 B
TypeScript

import { makeStyles } from 'tss-react/mui';
export const useStyles = makeStyles()(theme => ({
container: {
borderRadius: theme.shape.borderRadiusLarge,
boxShadow: 'none',
},
headerContainer: {
padding: theme.spacing(2, 4),
borderBottomStyle: 'solid',
borderBottomWidth: 1,
borderBottomColor: theme.palette.divider,
[theme.breakpoints.down('md')]: {
padding: '1.5rem 1rem',
},
},
bodyContainer: {
padding: '2rem',
[theme.breakpoints.down('md')]: {
padding: '1rem',
},
},
paddingDisabled: {
padding: '0',
},
borderDisabled: {
border: 'none',
},
}));