Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

Commit 1e2bc43

Browse files
committed
Fix scrolling warning
1 parent 581f04c commit 1e2bc43

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ a:hover {
133133
opacity: 0.4;
134134
}
135135

136+
#ace-editor {
137+
height: 380px;
138+
width: 100%;
139+
}
140+
136141
/**
137142
* Controls
138143
*/

src/js/components/Editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default class Editor extends Component {
2929
showPrintMargin
3030
highlightActiveLine
3131
wrapEnabled
32+
editorProps={{ $blockScrolling: true }}
3233
setOptions={{
3334
enableBasicAutocompletion: true,
3435
enableLiveAutocompletion: true,

0 commit comments

Comments
 (0)