Repository navigation
docs: tighten article.jdf example spacing - #17
Open
DenizSAHIN570 wants to merge 1 commit into
Open
DenizSAHIN570 wants to merge 1 commit into
DenizSAHIN570 wants to merge 1 commit into
Conversation
The y slots after paragraphs/lists/code blocks were sized for ~3 more lines than the content renders, leaving 92-110px of empty space (and a detached-looking hover toolbar) between blocks. Retune the 8 affected y values so block-to-block gaps are ~30px before headings and ~20px before code blocks, matching the existing 20px heading-to-body rhythm. Refs uurtech#11 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
DenizSAHIN570
force-pushed
the
fix/article-example-spacing
branch
from
October 6, 2026 17:38
947639a to
39a4415
Compare
This branch has not been deployed
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.
Refs #11
The gaps reported in #11 are authored in
docs/examples/article.jdf, not introduced by the renderers: elements are absolutely positioned and both renderers honorposition.y. Theyslots after paragraphs, lists and code blocks were sized for about three more lines than the content renders, leaving 92–110px of empty space between blocks.This retunes the 8 affected
yvalues (nothing else in the file changes):<link…>snippet → "What's next"Heading → body gaps stay at 20px. The hero spacing at the top of page 1 is untouched.
Measured in the reader (edit mode) via a Playwright harness;
jdf validate docs/examples/article.jdfpasses. Data-only change, so the three-surface checklist doesn't apply.🤖 Generated with Claude Code