ngx-hana-nameserver-history-viewer 1.1.9-9.6.beta → 1.1.9-9.7.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -507,7 +507,7 @@ function setChartHeight(nsAll, nsContent) {
507
507
  // const item1 = (document.getElementsByClassName('nameserver-history-all') as HTMLCollectionOf<HTMLElement>)[0];
508
508
  // const item2 = (document.getElementsByClassName('nameserver-history-content') as HTMLCollectionOf<HTMLElement>)[0];
509
509
  if (nsAll && nsContent) {
510
- const chartHeight = nsAll.offsetWidth * 0.75 / 2;
510
+ const chartHeight = nsAll.offsetWidth * 0.75 / 2 + 10;
511
511
  nsContent.style.height = `${chartHeight}px`;
512
512
  }
513
513
  }
@@ -3546,6 +3546,7 @@ class NameServerHistoryComponent {
3546
3546
  await this.fileSelected(simulatedEvent);
3547
3547
  this.port = undefined; // clear the port selection
3548
3548
  if (this.autoDisplay) {
3549
+ this.onResize();
3549
3550
  this.showChart();
3550
3551
  }
3551
3552
  }