Commit 4064d39
committed
fix(terminal): clip xterm canvas overflow during panel resize
The xterm canvas has fixed pixel dimensions set by fitAddon.fit().
During drag-resize the terminal content area shrinks but the canvas
retains its old size, visually overflowing into the live preview.
Add overflow: hidden to .terminal-content-area so the canvas is
clipped instantly while the debounced fit adjusts it after the drag.1 parent 2a37123 commit 4064d39
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
| |||
0 commit comments