This commit is contained in:
Olivier Gagnon
2021-09-17 02:04:44 -04:00
parent ff726afcd6
commit acd51e8328
22 changed files with 724 additions and 450 deletions
+3 -3
View File
@@ -308,7 +308,7 @@ export function Root(props: IProps): React.ReactElement {
}
return (
<div className="script-editor-wrapper">
<>
<div id="script-editor-filename-wrapper">
<p id="script-editor-filename-tag" className="noselect">
{" "}
@@ -328,7 +328,7 @@ export function Root(props: IProps): React.ReactElement {
beforeMount={beforeMount}
onMount={onMount}
loading={<p>Loading script editor!</p>}
height="80%"
height="90%"
defaultLanguage="javascript"
defaultValue={code}
onChange={updateCode}
@@ -352,6 +352,6 @@ export function Root(props: IProps): React.ReactElement {
Netscript Documentation
</a>
</div>
</div>
</>
);
}