This commit is contained in:
garrying
2021-05-18 01:36:05 +00:00
parent e7d6768993
commit d74fb8d740
43 changed files with 336 additions and 336 deletions

View File

@ -228,7 +228,7 @@ if (typeof window.graphData !== 'undefined') {
const graphWrapper = document.getElementById('graph-wrapper')
const element = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
element.setAttribute('width', graphWrapper.getBoundingClientRect().width)
element.setAttribute('height', window.innerHeight)
element.setAttribute('height', graphWrapper.getBoundingClientRect().height)
element.classList.add('grab', 'grabbing')
graphWrapper.appendChild(element)