We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a3156 commit 54dba19Copy full SHA for 54dba19
ui/src/components/MyMonaco.js
@@ -415,8 +415,10 @@ export function MyMonaco({
415
formatOnType: true,
416
autoIndent: "full",
417
// autoIndent: true,
418
+ overviewRulerLanes: 0,
419
scrollbar: {
420
alwaysConsumeMouseWheel: false,
421
+ vertical: "hidden",
422
},
423
}}
424
onChange={onChange}
@@ -428,7 +430,8 @@ export function MyMonaco({
428
430
// max height: 400
429
431
const contentHeight = Math.max(
432
100,
- Math.min(400, editor.getContentHeight())
433
+ editor.getContentHeight()
434
+ // Math.min(400, editor.getContentHeight())
435
);
436
// console.log("target height:", contentHeight);
437
const editorElement = editor.getDomNode();
0 commit comments