mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
parent
b4aa418276
commit
78f72f33e6
@ -38,8 +38,8 @@ interface Props {
|
||||
}
|
||||
|
||||
function fontFamilyFromSettings() {
|
||||
const f = editorFont(Setting.value('style.editor.fontFamily'));
|
||||
return [f, 'sans-serif'].join(', ');
|
||||
const font = editorFont(Setting.value('style.editor.fontFamily'));
|
||||
return font ? `${font}, sans-serif` : 'sans-serif';
|
||||
}
|
||||
|
||||
function useCss(themeId: number): string {
|
||||
|
Loading…
Reference in New Issue
Block a user