Skip to content

Commit

Permalink
Merge pull request #309 from lifeomic/fix-breakpoints-down
Browse files Browse the repository at this point in the history
fix: breakpoints.down MUI v5 breaking change
  • Loading branch information
Haley authored Oct 19, 2022
2 parents b81ec5c + 8810870 commit 82d8de4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const useStyles = makeStyles(
marginBottom: 0,
minHeight: theme.pxToRem(82),
paddingTop: theme.spacing(3),
[theme.breakpoints.down('sm')]: {
[theme.breakpoints.down('md')]: {
flexWrap: 'wrap',
},
},
Expand All @@ -33,13 +33,13 @@ export const useStyles = makeStyles(
},
title: {
flex: 1,
[theme.breakpoints.down('sm')]: {
[theme.breakpoints.down('md')]: {
flexBasis: 'auto',
},
},
left: {
flex: 1,
[theme.breakpoints.down('sm')]: {
[theme.breakpoints.down('md')]: {
flexBasis: 'auto',
},
},
Expand All @@ -50,7 +50,7 @@ export const useStyles = makeStyles(
display: 'flex',
justifyContent: 'center',
flex: 1,
[theme.breakpoints.down('sm')]: {
[theme.breakpoints.down('md')]: {
justifyContent: 'flex-start',
flexBasis: '100%',
margin: theme.spacing(2, 0, 4),
Expand All @@ -61,7 +61,7 @@ export const useStyles = makeStyles(
display: 'flex',
justifyContent: 'flex-end',
flex: 1,
[theme.breakpoints.down('sm')]: {
[theme.breakpoints.down('md')]: {
flexBasis: 'auto',
},
},
Expand Down

0 comments on commit 82d8de4

Please sign in to comment.