Sidebar editing toggle and only scroll atlas content

This commit is contained in:
Jori Lallo
2016-08-11 13:32:56 +02:00
parent 41505039b2
commit eb156e3069
15 changed files with 167 additions and 85 deletions

View File

@@ -1,15 +1,18 @@
import React from "react";
import React from 'react';
import { observer } from 'mobx-react';
import Helmet from "react-helmet";
import Helmet from 'react-helmet';
const Application = observer((props) => {
return (
<div style={{ width: '100%', display: 'flex', flex: 1, }}>
<div style={{ width: '100%', height: '100%', display: 'flex', flex: 1 }}>
<Helmet
title="Atlas"
meta={[
{"name": "viewport", "content": "width=device-width, initial-scale=1.0"},
]}
meta={ [
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0',
},
] }
/>
{ props.children }
</div>
@@ -18,6 +21,6 @@ const Application = observer((props) => {
Application.propTypes = {
children: React.PropTypes.node.isRequired,
}
};
export default Application;