Skip to content

Commit fb20fa3

Browse files
committed
fix: add automaticLayout monaco option
1 parent 5e0c4ed commit fb20fa3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/containers/Inspector.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ const Inspector: React.FC<IProps> = (props) => {
476476
readOnly: true,
477477
showFoldingControls: "always",
478478
fixedOverflowWidgets: true,
479+
automaticLayout: true,
479480
}}
480481
height="93vh"
481482
editorDidMount={handleResponseEditorDidMount}

src/containers/JSONRPCRequestEditor.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const JSONRPCRequestEditor: React.FC<IProps> = (props) => {
132132
minimap: {
133133
enabled: false,
134134
},
135+
automaticLayout: true,
135136
fixedOverflowWidgets: true,
136137
}}
137138
language="json"

0 commit comments

Comments
 (0)