Skip to content

Commit

Permalink
Fixes #169 - Remove deprecated material-ui spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhosseindhv committed Sep 23, 2019
1 parent 913c8b3 commit 01dbad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SnackbarItem/SnackbarItem.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const styles = theme => ({
},
collapseContainer: {
[theme.breakpoints.down('xs')]: {
paddingLeft: theme.spacing.unit,
paddingRight: theme.spacing.unit,
paddingLeft: typeof theme.spacing === 'function' ? theme.spacing(1) : theme.spacing.unit,
paddingRight: typeof theme.spacing === 'function' ? theme.spacing(1) : theme.spacing.unit,
},
},
collapseWrapper: {
Expand Down

0 comments on commit 01dbad1

Please sign in to comment.