1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/component/feature/FeatureView/FeatureMetrics/FeatureMetrics.styles.ts

27 lines
689 B
TypeScript
Raw Normal View History

import { makeStyles } from '@material-ui/core/styles';
export const useStyles = makeStyles(theme => ({
2021-10-20 12:55:40 +02:00
environmentContainer: {
display: 'flex',
marginBottom: '1rem',
flexWrap: 'wrap',
width: '100%',
position: 'relative',
justifyContent: 'center',
},
environmentMetrics: {
border: `1px solid ${theme.palette.grey[300]}`,
2021-10-20 13:21:39 +02:00
margin: '0.5rem',
2021-10-20 12:55:40 +02:00
width: '30%',
2021-10-20 13:18:33 +02:00
},
[theme.breakpoints.down(1000)]: {
2021-10-20 13:39:52 +02:00
environmentMetrics: { width: '50%' },
2021-10-20 13:18:33 +02:00
},
[theme.breakpoints.down(750)]: {
environmentMetrics: { width: '100%' },
2021-10-20 12:55:40 +02:00
},
secondaryContent: {
marginTop: '1rem',
},
}));