Improved HTML output sizing

This commit is contained in:
n1474335 2023-03-08 18:08:17 +00:00
parent 7eda2fd4a6
commit 80e8b2339d
5 changed files with 17 additions and 9 deletions

View file

@ -358,7 +358,7 @@ class Entropy extends Operation {
<br><script>
var canvas = document.getElementById("chart-area"),
parentRect = canvas.parentNode.getBoundingClientRect(),
parentRect = canvas.closest(".cm-scroller").getBoundingClientRect(),
entropy = ${entropy},
height = parentRect.height * 0.25;