No scrolling when showing the platform
This commit is contained in:
1 parent
7becc8f6dd
commit
d277a1ebd3
2 files changed
+5
-1
No files matched your search
@@ -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 = '';
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
Reference in new issue
Block a user