mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-19 01:17:18 +02:00
We should show the feature toggle type in all list of toggles. Also cleaned up mobile view.
40 lines
879 B
TypeScript
40 lines
879 B
TypeScript
import { makeStyles } from '@material-ui/core/styles';
|
|
|
|
export const useStyles = makeStyles(theme => ({
|
|
container: {
|
|
boxShadow: 'none',
|
|
marginLeft: '1rem',
|
|
minHeight: '100%',
|
|
width: 'calc(100% - 1rem)',
|
|
position: 'relative',
|
|
paddingBottom: '4rem',
|
|
[theme.breakpoints.down('sm')]: {
|
|
marginLeft: '0',
|
|
paddingBottom: '4rem',
|
|
width: 'inherit',
|
|
},
|
|
},
|
|
bodyClass: { padding: '0.5rem 2rem' },
|
|
header: {
|
|
padding: '1rem',
|
|
},
|
|
title: {
|
|
fontSize: '1rem',
|
|
fontWeight: 'normal',
|
|
},
|
|
iconButton: {
|
|
marginRight: '1rem',
|
|
},
|
|
icon: {
|
|
color: '#000',
|
|
height: '30px',
|
|
width: '30px',
|
|
},
|
|
noTogglesFound: {
|
|
marginBottom: '0.5rem',
|
|
},
|
|
link: {
|
|
textDecoration: 'none',
|
|
},
|
|
}));
|