From b6cafdeecfdf516e13edc4c10842885036bf231a Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 6 Oct 2017 19:55:10 +0200 Subject: [PATCH] [Snackbar] Fix position regression (#8573) The regression was introduced with ee3a5f4b11 --- src/Snackbar/Snackbar.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Snackbar/Snackbar.js b/src/Snackbar/Snackbar.js index 6803d186c28a7a..c440060626db25 100644 --- a/src/Snackbar/Snackbar.js +++ b/src/Snackbar/Snackbar.js @@ -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],