Repository navigation
fix(docs): release 0.15.2 with shorter, quieter inline code - #204
Merged
Merged
Conversation
Inline code was 26px tall on a 24px list line, so code on neighboring lines overlapped. It now has 2px of vertical padding, is sized relative to the surrounding text, and sits on the neutral Badge background at 50% so code-heavy passages read as prose first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Need
Inline code in docs prose is too tall and too loud. On code-heavy pages it collides with the lines around it and stands out more than the prose does.
Problem
p-1makes each code box 26px tall on a 24px list line, so code on neighboring lines overlaps by 2px. Measured with Playwright on the Guardian docs.Change
0.875em, relative to the surrounding text. It still renders at 14px in body text.Testing
@eqtylab/docsbuild passes, and all 218 docs tests pass.Not covered
🤖 Generated with Claude Code