mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Position the textarea at top:0
This prevents the browser from scrolling to the top of the page if the terminal can be scrolled out of view. Fixes #357
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
left: -9999em;
|
||||
top: -9999em;
|
||||
top: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
z-index: -10;
|
||||
|
||||
Reference in New Issue
Block a user