v0.10.15b - Fixed scroll

This commit is contained in:
frederikpyt 2020-08-25 14:16:47 +02:00
parent f5e3e0c6e0
commit c1972e70c8
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
function setMain() {
var main = document.getElementsByTagName("main")[0];
var header = document.getElementsByTagName("header")[0];
main.style.minHeight = 'calc(100% - ' + header.clientHeight + 'px)';
main.style.minHeight = 'calc(100% - ' + (header.clientHeight+10) + 'px)';
}
</script>
</head>