From 95565d7506afe4608b5a9871a6daeb49c181e679 Mon Sep 17 00:00:00 2001 From: mf Date: Tue, 7 Jul 2026 12:04:49 +0200 Subject: [PATCH] fix(editor): scale code block font size with editor zoom (#208) Code blocks used a hardcoded 13px font-size instead of scaling with --editor-font-size, so they didn't resize with the rest of the editor content when zooming. Reviewed-on: https://codeberg.org/ArkHost/HelixNotes/pulls/208 --- src/lib/components/Editor.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Editor.svelte b/src/lib/components/Editor.svelte index 20166e8..8b27529 100644 --- a/src/lib/components/Editor.svelte +++ b/src/lib/components/Editor.svelte @@ -8363,7 +8363,7 @@ overflow-x: auto; background: none; padding: 0; - font-size: 13px; + font-size: 0.93em; line-height: 1.5; }