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

pull/4109/head^2
Caleb John 2020-11-19 10:04:18 -07:00 committed by GitHub
parent 031a26116c
commit 116413e78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

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;
}