From 3d9fbfd97f3b4233c7f252f7606a3e56203e037f Mon Sep 17 00:00:00 2001 From: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com> Date: Mon, 7 Jul 2025 17:51:44 +0000 Subject: [PATCH] Use system font for webviews instead of bootstrap font stack and add exception for note editor (#4163) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Revert "Revert "Use system font for webviews instead of bootstrap font stack …" This reverts commit d1793550b08a2969dde8139e9b690c46baff0c4e. * Update editor-base.scss --- ts/editor/editor-base.scss | 1 + ts/lib/sass/base.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/ts/editor/editor-base.scss b/ts/editor/editor-base.scss index 73f4bdc1f..c7d01492b 100644 --- a/ts/editor/editor-base.scss +++ b/ts/editor/editor-base.scss @@ -10,5 +10,6 @@ $btn-disabled-opacity: 0.4; html, body { + font-family: var(--bs-font-sans-serif); overflow: hidden; } diff --git a/ts/lib/sass/base.scss b/ts/lib/sass/base.scss index d28659ed8..571890102 100644 --- a/ts/lib/sass/base.scss +++ b/ts/lib/sass/base.scss @@ -44,6 +44,7 @@ html { } body { + font-family: inherit; overflow-x: hidden; &:not(.isMac), &:not(.isMac) * {