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

Desktop: Fixes #3801: Fixed editor font size

This commit is contained in:
Laurent Cozic
2020-09-23 11:39:36 +01:00
parent 5bf30a9586
commit 25ab3c323b
2 changed files with 2 additions and 1 deletions

View File

@@ -359,6 +359,7 @@ function CodeMirror(props: NoteBodyEditorProps, ref: any) {
/* These must be important to prevent the codemirror defaults from taking over*/
.CodeMirror {
font-family: monospace;
font-size: ${theme.editorFontSize}px;
height: 100% !important;
width: 100% !important;
color: inherit !important;

View File

@@ -24,7 +24,7 @@ const { bridge } = require('electron').remote.require('./bridge');
const GlobalStyle = createGlobalStyle`
div, span, a {
color: ${(props) => props.theme.color};
font-size: ${(props) => props.theme.fontSize}px;
/*font-size: ${(props) => props.theme.fontSize}px;*/
font-family: ${(props) => props.theme.fontFamily};
}
`;