From 63f2288e51769720961538bd069c08e0a3a0568d Mon Sep 17 00:00:00 2001 From: Craig Carlyle Date: Fri, 3 Apr 2026 12:52:45 -0700 Subject: [PATCH] fix: revert prose loose list spacing changes This reverts commit 67d6aae0cdd528ef6b0b0e17e39d1e70c94a2499. Made-with: Cursor --- src/prose/prose-example.ts | 10 +--------- src/prose/prose.module.css | 6 ------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/prose/prose-example.ts b/src/prose/prose-example.ts index fcc168d2a..62ee60dfe 100644 --- a/src/prose/prose-example.ts +++ b/src/prose/prose-example.ts @@ -11,20 +11,12 @@ A second paragraph now. One that contains [a link to Doist.com](https://doist.co formatting examples, such as **bold text**, _italic text_, ~~strikethrough text~~ and \`monospace\`. These can also be combined, like [using _italics_, \`monospace\`, or _\`both\`_ within a link](https://en.wikipedia.org/wiki/Typography). -Now let’s continue with a tight list (no blank lines between items): +Now let’s continue with a list: - this one - that one - the other one -And a loose list (blank lines between items): - -- first item - -- second item - -- third item - And a blockquote: > Blockquotes are indented and have a border on the left. The text color is slightly dimmed. diff --git a/src/prose/prose.module.css b/src/prose/prose.module.css index b2cc2fb13..b6042042f 100644 --- a/src/prose/prose.module.css +++ b/src/prose/prose.module.css @@ -133,12 +133,6 @@ margin-top: calc(0.5 * var(--reactist-prose-space-1)); } -/* Loose lists (blank lines between items) produce

inside

  • . Give them paragraph-level - spacing so the visual gap the user intended is preserved. */ -.prose li:has(> p) + li { - margin-top: var(--reactist-prose-space-2); -} - .prose ul ul, .prose ul ol, .prose ol ol,