1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-04 11:17:02 +02:00
unleash.unleash/frontend/src/component/feature/FeatureView2/FeatureStrategies/FeatureStrategyExecution/FeatureStrategyExecution.styles.ts
Fredrik Strand Oseberg 7da3573edb Feat/visual enhancements (#404)
* fix: stale style

* fix: execution plan styling

* fix: paths

* fix: remove console logs

* fix: snapshots

* fix: add comma

* fix: update snapshots
2021-10-08 16:19:06 +02:00

34 lines
881 B
TypeScript

import { makeStyles } from '@material-ui/core/styles';
export const useStyles = makeStyles(theme => ({
constraintsContainer: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
marginTop: '0.5rem',
width: '100%',
},
constraint: {
fontSize: theme.fontSizes.smallBody,
alignItems: 'center;',
margin: '0.5rem 0',
display: 'flex',
border: `1px solid ${theme.palette.grey[300]}`,
padding: '0.2rem',
borderRadius: '5px',
},
constraintName: {
minWidth: '100px',
marginRight: '0.5rem',
},
constraintOperator: {
marginRight: '0.5rem',
},
constraintValues: {
textOverflow: 'ellipsis',
overflow: 'hidden',
maxWidth: '50%',
},
text: { textAlign: 'center', margin: '0.2rem 0 0.5rem' },
}));