Skip to content

Commit fb65c76

Browse files
committed
Enable Monaco automaticLayout
Fixes: go-gitea#21508
1 parent 19df07f commit fb65c76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/features/codeeditor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const baseOptions = {
1717
rulers: false,
1818
scrollbar: {horizontalScrollbarSize: 6, verticalScrollbarSize: 6},
1919
scrollBeyondLastLine: false,
20+
automaticLayout: true,
2021
};
2122

2223
function getEditorconfig(input) {

0 commit comments

Comments
 (0)