mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 05:58:41 -09:00
Put offscreen terms far far away (#2619)
This commit is contained in:
parent
904f94a1bb
commit
97fe79bda4
1 changed files with 3 additions and 3 deletions
|
|
@ -155,12 +155,12 @@ export default class Terms extends Component {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: '100%', // Offscreen to pause xterm rendering, thanks to IntersectionObserver
|
top: 0,
|
||||||
left: 0
|
left: '-9999em' // Offscreen to pause xterm rendering, thanks to IntersectionObserver
|
||||||
},
|
},
|
||||||
|
|
||||||
termGroupActive: {
|
termGroupActive: {
|
||||||
top: 0
|
left: 0
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue