diff --git a/docs/src/modules/components/Demo.js b/docs/src/modules/components/Demo.js
index c49a82d29b2653..397c780be4de3b 100644
--- a/docs/src/modules/components/Demo.js
+++ b/docs/src/modules/components/Demo.js
@@ -50,6 +50,7 @@ const styles = theme => ({
},
},
demo: {
+ margin: 'auto',
borderRadius: theme.shape.borderRadius,
backgroundColor:
theme.palette.type === 'light' ? theme.palette.grey[200] : theme.palette.grey[900],
@@ -349,6 +350,9 @@ class Demo extends React.Component {
})}
onMouseEnter={this.handleDemoHover}
onMouseLeave={this.handleDemoHover}
+ style={{
+ maxWidth: demoOptions.maxWidth,
+ }}
>
diff --git a/docs/src/pages/demos/app-bar/app-bar.md b/docs/src/pages/demos/app-bar/app-bar.md
index b7da82d67e4599..d35331230c1c13 100644
--- a/docs/src/pages/demos/app-bar/app-bar.md
+++ b/docs/src/pages/demos/app-bar/app-bar.md
@@ -41,4 +41,4 @@ A side searchbar.
## Bottom App Bar
-{{"demo": "pages/demos/app-bar/BottomAppBar.js", "iframe": true}}
+{{"demo": "pages/demos/app-bar/BottomAppBar.js", "iframe": true, "maxWidth": 500}}
diff --git a/docs/src/pages/demos/snackbars/ConsecutiveSnackbars.js b/docs/src/pages/demos/snackbars/ConsecutiveSnackbars.js
index b19d1112b87122..ac0448641a2a0d 100644
--- a/docs/src/pages/demos/snackbars/ConsecutiveSnackbars.js
+++ b/docs/src/pages/demos/snackbars/ConsecutiveSnackbars.js
@@ -60,8 +60,8 @@ class ConsecutiveSnackbars extends React.Component {
return (
-
-
+
+
{
return (
-
-
+
+
-