pull/5370/head
bunsenstraat 1 year ago
parent 5666ff70c9
commit 6c0282a848
  1. 1
      libs/remix-ui/xterm/src/lib/components/xterm-fit-addOn.ts

@ -69,7 +69,6 @@ export class FitAddon implements ITerminalAddon {
0 : core.viewport.scrollBarWidth;
console.log(this._terminal.element.parentElement.parentElement)
const parentElementStyle = window.getComputedStyle(this._terminal.element.parentElement.parentElement);
const parentElementHeight = parseInt(parentElementStyle.getPropertyValue('height'));
const parentElementWidth = Math.max(0, parseInt(parentElementStyle.getPropertyValue('width')));

Loading…
Cancel
Save