Skip to content

Commit 38f26de

Browse files
committed
Fix editor scrolling
1 parent 3b97a1e commit 38f26de

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

web/src/modes/editor/Editor.tsx

+5-7
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@ export function Editor() {
2525

2626
return (
2727
<div id="editor" class="full-window">
28-
<div>
29-
<CodeMirror
30-
initialContent={content()}
31-
onChange={setContent}
32-
showStep={showStep()}
33-
/>
34-
</div>
28+
<CodeMirror
29+
initialContent={content()}
30+
onChange={setContent}
31+
showStep={showStep()}
32+
/>
3533

3634
<div class="full-window">
3735
<div class="toolbar">

0 commit comments

Comments
 (0)