Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit b597b78

Browse files
authored
User updating
1 parent bf8146b commit b597b78

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/component/MonacoEditor.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
}
3939

4040
.code {
41-
font-family: Fira Mono;
41+
font-family: Consolas;
4242
font-size: 16px;
4343
text-wrap: nowrap;
44-
display: inline-block;
44+
overflow-x: scroll;
4545
background-color: #fdf5e6;
4646
}

src/component/MonacoEditorExecute.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ export const ExecuteCode = async (pyodide: PyodideInterface, code: string): Prom
3333
} catch (e: any) {
3434
stdout(e.stack);
3535
} finally {
36-
stdout(`[editor: last executed at ${new Date().toLocaleString("en-us")}]`);
37-
stdout(`[Pyodide version: v${pyodide.version}]`);
36+
stdout(`\n[editor (Pyodide: v${pyodide.version}): ${new Date().toLocaleString("en-us")}]`);
3837
}
3938

4039
return consoleOutput;

0 commit comments

Comments
 (0)