diff --git a/css/style.css b/css/style.css index 9ae4c42..3a455e8 100644 --- a/css/style.css +++ b/css/style.css @@ -305,7 +305,14 @@ table { width: 100%; } +.footer { + margin-top: auto; + position: sticky; + bottom: 0; + z-index: 1000; +} + .footer a:link, .footer a:visited { color: black; -} \ No newline at end of file +} diff --git a/js/canvas.js b/js/canvas.js index c5d9eb0..b9213d5 100644 --- a/js/canvas.js +++ b/js/canvas.js @@ -1,4 +1,3 @@ - let textFieldInput = document.getElementById("treeInputInsert"); let inputButton = document.getElementById("submitInsert"); let inputDeleteButton = document.getElementById("submitDelete"); @@ -26,7 +25,7 @@ let animationTooltip = document.getElementById('tooltipAnimation'); // set up canvas let canvas = document.getElementById('myCanvas'); console.log(canvas.id); -canvas.height = window.innerHeight - 315; +canvas.height = window.innerHeight - 515; canvas.width = window.innerWidth; let c = canvas.getContext('2d');