mirror of https://github.com/laurent22/joplin.git
Desktop: Fixes #3801: Fixed editor font size
parent
5bf30a9586
commit
25ab3c323b
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
}
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue