1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Desktop: Resolves #11279: Remove left/right edge margin around editor content when disabled in settings (#11290)

This commit is contained in:
Henry Heino
2024-10-30 14:09:37 -07:00
committed by GitHub
parent f7f4a50d35
commit 2974465882
2 changed files with 12 additions and 0 deletions

View File

@@ -378,6 +378,8 @@ const CodeMirror = (props: NoteBodyEditorProps, ref: ForwardedRef<NoteBodyEditor
katexEnabled: Setting.value('markdown.plugin.katex'),
themeData: {
...styles.globalTheme,
marginLeft: 0,
marginRight: 0,
monospaceFont: Setting.value('style.editor.monospaceFontFamily'),
},
automatchBraces: Setting.value('editor.autoMatchingBraces'),