Skip to content

Commit

Permalink
[Snackbar] Fix position regression (mui#8573)
Browse files Browse the repository at this point in the history
The regression was introduced with ee3a5f4
  • Loading branch information
oliviertassinari authored and the-noob committed Oct 17, 2017
1 parent 19c5bf9 commit b6cafde
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Snackbar/Snackbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ export const styles = (theme: Object) => {
alignItems: 'center',
},
anchorTopCenter: {
extend: [top, center],
extend: [top],
[theme.breakpoints.up('md')]: {
extend: [center],
},
},
anchorBottomCenter: {
extend: [bottom, center],
extend: [bottom],
[theme.breakpoints.up('md')]: {
extend: [center],
},
},
anchorTopRight: {
extend: [top, right],
Expand Down

0 comments on commit b6cafde

Please sign in to comment.