1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

axx maxWidth

This commit is contained in:
sveisvei 2016-12-05 19:29:07 +01:00
parent 672635a185
commit 32e92e9395

View File

@ -46,7 +46,7 @@ export default class App extends Component {
const layout = document.querySelector('.mdl-js-layout');
const drawer = document.querySelector('.mdl-layout__drawer');
if (layout.classList.contains('is-small-screen') && drawer.classList.contains('is-visible')) {
if (drawer.classList.contains('is-visible')) {
layout.MaterialLayout.toggleDrawer();
}
}
@ -126,7 +126,7 @@ export default class App extends Component {
</Navigation>
</Drawer>
<Content>
<Grid>
<Grid shadow={1} style={{ maxWidth: '1200px', margin: '0 auto' }}>
<Cell col={12}>
{this.props.children}
<ErrorContainer />