From a41bfe2c7028c2c2c812a983b1d6c20e4749dc6f Mon Sep 17 00:00:00 2001 From: seaHi Date: Wed, 23 Sep 2026 11:42:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A1=AE=E4=BF=9D=20Markdown=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E5=86=85=E5=AE=B9=E5=8C=BA=E5=92=8C?= =?UTF-8?q?=20gutter=20=E5=85=B7=E6=9C=89=E6=9C=80=E5=B0=8F=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E4=BB=A5=E9=80=82=E9=85=8D=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/admin/MarkdownEditor.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/admin/MarkdownEditor.svelte b/src/lib/components/admin/MarkdownEditor.svelte index dc0babb..4b7e8c6 100644 --- a/src/lib/components/admin/MarkdownEditor.svelte +++ b/src/lib/components/admin/MarkdownEditor.svelte @@ -91,6 +91,7 @@ boxShadow: '0 0 0 3px rgba(65, 155, 56, 0.08)' }, '.cm-content': { + minHeight: '100%', padding: '12px 14px', lineHeight: '1.8' }, @@ -98,6 +99,7 @@ overflow: 'auto' }, '.cm-gutters': { + minHeight: '100%', backgroundColor: 'rgba(0, 0, 0, 0.03)', color: 'rgba(0, 0, 0, 0.4)', borderRight: '1px solid rgba(0, 0, 0, 0.12)',