mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
* fix: stale style * fix: execution plan styling * fix: paths * fix: remove console logs * fix: snapshots * fix: add comma * fix: update snapshots
34 lines
881 B
TypeScript
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' },
|
|
}));
|