From 2e311bb31dfb685c693a51a60c3003cbbfd56f9c Mon Sep 17 00:00:00 2001 From: tianma Date: Tue, 30 Jun 2026 19:27:53 +0800 Subject: [PATCH] Tighten editor paragraph spacing --- apps/web/src/styles/globals.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css index cf5f4745..58a3b529 100644 --- a/apps/web/src/styles/globals.css +++ b/apps/web/src/styles/globals.css @@ -26,7 +26,8 @@ --brand-green-900-rgb: 0 67 18; --brand-green-950-rgb: 0 43 11; --editor-body-font-size: 0.9375rem; - --editor-body-line-height: 1.75; + --editor-body-line-height: 1.6; + --editor-paragraph-spacing: 0.45rem; --card: 0 0% 100%; --card-foreground: 224 71% 4%; @@ -124,7 +125,7 @@ textarea { .ProseMirror p { line-height: var(--editor-body-line-height); - margin: 0 0 0.95rem; + margin: 0 0 var(--editor-paragraph-spacing); } .ProseMirror ul,