All files / src/ExpansionPanel styles.js

50% Statements 1/2
100% Branches 0/0
0% Functions 0/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44    12x                                                                                  
import { makeStyles } from '@material-ui/core/styles';
 
export const useStyles = makeStyles(theme => ({
  container: {
    padding: 0,
    minHeight: '48px !important',
    maxHeight: 48,
    display: 'flex',
    alignItems: 'center',
  },
  content: {
    flex: 1,
    whiteSpace: 'nowrap',
    overflow: 'hidden',
    textOverflow: 'ellipsis',
    color: theme.palette.grey[600],
    fontWeight: 'bold',
  },
  details: {
    display: 'flex',
    padding: `0px 0px ${theme.spacing(1)}px 0px`,
    flexDirection: 'column',
    width: '100%',
    maxHeight: 250,
    overflow: 'auto',
  },
  overflow: {
    overflow: 'unset',
    maxHeight: 'unset',
  },
  panel: {
    borderTop: 'solid 2px #999',
    borderRadius: 'unset !important',
    margin: 0,
    '&:before': {
      backgroundColor: 'unset',
    },
  },
  iconSummaryPanel: {
    right: -5,
    color: theme.palette.primary.main,
  },
}));