fix: collapse oversized gap in loose markdown lists#155
Merged
Conversation
Loose lists (blank line between items) render as <li><p>…</p></li>; the inner <p>
stacked a 1rem paragraph margin on top of the list-item spacing, so bullets sat
~22px apart across every doc-prose surface. One rule — .doc-prose li > p { margin: 0 }
— collapses loose lists to the same ~6px rhythm as tight lists.
Closes #154
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #154.
Loose markdown lists (a blank line between items) rendered with a big gap between bullets —
markedwraps each item in a<p>, which stacked.doc-prose p's 1rem margin on top of the list-item spacing (~22px between bullets). Live example: TASK-2's SW-CORE list.One rule in
src/style.css, everywhere doc-prose is used:Loose lists now match the tidy ~6px rhythm of tight lists.
just build-webgreen.