mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 09:14:15 +01:00
Enable Monaco automaticLayout (#21516)
Enable [`automaticLayout`](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IDiffEditorOptions.html#automaticLayout) for monaco so it can reflow itself. Fixes: https://github.com/go-gitea/gitea/issues/21508
This commit is contained in:
parent
19df07f021
commit
4b4adb1cc9
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ const baseOptions = {
|
|||
rulers: false,
|
||||
scrollbar: {horizontalScrollbarSize: 6, verticalScrollbarSize: 6},
|
||||
scrollBeyondLastLine: false,
|
||||
automaticLayout: true,
|
||||
};
|
||||
|
||||
function getEditorconfig(input) {
|
||||
|
|
Loading…
Reference in a new issue