From 032816fffc415c4e76864461ebf6c116bc455b39 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Wed, 6 Feb 2019 22:48:02 +0000 Subject: [PATCH] All: Made note font slightly smaller --- ElectronClient/app/theme.js | 2 +- ReactNativeClient/lib/MdToHtml.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ElectronClient/app/theme.js b/ElectronClient/app/theme.js index 14949800ee..b0f9299381 100644 --- a/ElectronClient/app/theme.js +++ b/ElectronClient/app/theme.js @@ -220,7 +220,7 @@ function themeStyle(theme) { textAreaLineHeight: Math.round(17 * editorFontSize / 12), // For WebView - must correspond to the properties above - htmlFontSize: Math.round(16 * zoomRatio) + 'px', + htmlFontSize: Math.round(15 * zoomRatio) + 'px', htmlLineHeight: '1.6em', //Math.round(20 * zoomRatio) + 'px' htmlCodeFontSize: '.9em', diff --git a/ReactNativeClient/lib/MdToHtml.js b/ReactNativeClient/lib/MdToHtml.js index b03edf8ca9..1ace7da5d1 100644 --- a/ReactNativeClient/lib/MdToHtml.js +++ b/ReactNativeClient/lib/MdToHtml.js @@ -552,19 +552,19 @@ class MdToHtml { line-height: 1.5em; } h1 { - font-size: 1.9em; + font-size: 1.5em; font-weight: bold; border-bottom: 1px solid ` + style.htmlDividerColor + `; padding-bottom: .3em; } h2 { - font-size: 1.6em; + font-size: 1.3em; font-weight: bold; border-bottom: 1px solid ` + style.htmlDividerColor + `; padding-bottom: .1em; } h3 { - font-size: 1.4em; + font-size: 1.1em; } h4, h5, h6 { font-size: 1em;