better widescreen support

This commit is contained in:
Jokob-sk
2023-03-15 18:13:21 +11:00
parent 63a9e55d4e
commit 642e8464cd
5 changed files with 19 additions and 31 deletions

View File

@@ -620,7 +620,7 @@
nodeHeight = ((emSize*100*0.30).toFixed(0))
$("#networkTree").attr('style', "height:"+treeAreaHeight+"px; width:1070px")
$("#networkTree").attr('style', `height:${treeAreaHeight}px; width:${$('.content-header').width()}px`)
myTree = Treeviz.create({
htmlId: "networkTree",