mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
big overhaul of scrollsync and term loading code for UI
This commit is contained in:
+266
-171
File diff suppressed because it is too large
Load Diff
@@ -672,6 +672,7 @@ body .xterm .xterm-viewport {
|
||||
padding-top: 10px;
|
||||
padding-right: 0px;
|
||||
flex-grow: 1;
|
||||
position: relative;
|
||||
|
||||
.line:nth-child(2) {
|
||||
padding-top: 1px;
|
||||
|
||||
+3
-1
@@ -15,7 +15,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
let reactElem = React.createElement(Main, null, null);
|
||||
let elem = document.getElementById("app");
|
||||
let root = createRoot(elem);
|
||||
root.render(reactElem);
|
||||
setTimeout(() => {
|
||||
root.render(reactElem);
|
||||
}, 500);
|
||||
});
|
||||
|
||||
(window as any).mobx = mobx;
|
||||
|
||||
Reference in New Issue
Block a user