TOP MARGIN implemented

This commit is contained in:
Luis Fernando Molina committed 2018-10-15 17:31:09 +02:00
1 parent e2c557b044
commit 761e7cf8ae
3 files changed
+42 -23

No files matched your search

+3 -1
View File
@@ -59,9 +59,11 @@ function loadAdvancedAlgosPlatform() {
browserCanvas = document.getElementById('canvas');
browserCanvas.width = window.innerWidth;
browserCanvas.height = window.innerHeight;
browserCanvas.height = window.innerHeight - window.TOP_MARGIN;
browserCanvas.style.border = "none";
browserCanvas.style.top = window.TOP_MARGIN + 'px';
/* The second thing to do is to send the tokenSession to the server, so that it can prepare the server side data structures needed. */
let sessionToken = window.SESSION_TOKEN;