22 lines
538 B
TypeScript
22 lines
538 B
TypeScript
import { makeStyles } from '@material-ui/core/styles';
|
|
import { DRAWER_WIDTH } from './contants';
|
|
|
|
const useStyles = makeStyles(theme => ({
|
|
drawerPaper: {
|
|
zIndex: `${theme.zIndex.appBar - 1} !important` as any,
|
|
width: DRAWER_WIDTH,
|
|
overflowY: 'hidden',
|
|
},
|
|
root: {
|
|
backgroundColor: theme.palette.background.paper,
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
height: '100%',
|
|
overflowY: 'auto',
|
|
'& > *:not(:last-child)': {
|
|
margin: theme.spacing(1, 0),
|
|
},
|
|
},
|
|
}));
|
|
export default useStyles;
|