From 32e92e9395ed6be73187e3674b406ad26a871d8c Mon Sep 17 00:00:00 2001 From: sveisvei Date: Mon, 5 Dec 2016 19:29:07 +0100 Subject: [PATCH] axx maxWidth --- frontend/src/component/app.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/app.jsx b/frontend/src/component/app.jsx index 7ef58263a1..2a91416050 100644 --- a/frontend/src/component/app.jsx +++ b/frontend/src/component/app.jsx @@ -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 { - + {this.props.children}