2
0

style.ts 723 B

123456789101112131415161718192021222324252627282930313233
  1. import { Theme } from '@mui/material';
  2. import { makeStyles } from '@mui/styles';
  3. export const useStyles = makeStyles((theme: Theme) => ({
  4. wrapper: {
  5. display: 'flex',
  6. flexDirection: 'column',
  7. flexBasis: 0,
  8. flexGrow: 1,
  9. backgroundColor: theme.palette.background.paper,
  10. padding: 0,
  11. '& .MuiTab-root': {
  12. textTransform: 'capitalize',
  13. },
  14. },
  15. tab: {
  16. height: theme.spacing(0.5),
  17. backgroundColor: theme.palette.primary.main,
  18. },
  19. tabContainer: {
  20. borderBottom: '1px solid #e0e0e0',
  21. },
  22. tabContent: {
  23. minWidth: 0,
  24. marginRight: theme.spacing(3),
  25. },
  26. tabPanel: {
  27. flexBasis: 0,
  28. flexGrow: 1,
  29. marginTop: theme.spacing(1),
  30. overflow: 'hidden',
  31. },
  32. }));