1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Desktop: Prevent lines from shifting in Markdown Editor when Scrollbar appears (#4110)

This commit is contained in:
Caleb John
2020-11-19 10:04:18 -07:00
committed by GitHub
parent 031a26116c
commit 116413e78d

View File

@@ -409,6 +409,12 @@ function CodeMirror(props: NoteBodyEditorProps, ref: any) {
padding-bottom: 400px !important;
}
.CodeMirror-sizer {
/* Add a fixed right padding to account for the appearance (and disappearance) */
/* of the sidebar */
padding-right: 10px !important;
}
.cm-header-1 {
font-size: 1.5em;
}