No scrolling when showing the platform

This commit is contained in:
Luis Fernando Molina committed 2018-10-16 10:05:57 +02:00
1 parent 7becc8f6dd
commit d277a1ebd3
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
<script type="text/javascript" src="http://localhost:1337/Scripts/Require.js"></script>
<script type="text/javascript" src="http://localhost:1337/Scripts/AppPreLoader.js"></script>
</head>
<body id="body" style="margin: 0px; padding: 0px; border: 0px; overflow:hidden;" onload="
<body id="body" onload="
window.SESSION_TOKEN = '';
+4
View File
@@ -28,10 +28,14 @@ class Home extends Component {
componentDidMount () {
window.CANVAS_VISIBLE = true
let body = document.getElementById('body')
body.style = 'margin: 0px; padding: 0px; border: 0px; overflow:hidden;'
}
componentWillUnmount () {
window.CANVAS_VISIBLE = false
let body = document.getElementById('body')
body.style = ''
}
render () {