Legible diagram text on phones: 600px floor + scroll shadows - #953
Merged
Conversation
…hadows The kit's 480px min-width scaled diagram SVGs to 0.75 on phones, rendering 10.5px meta text at ~7.9px with no hint the figure scrolls. Floor the SVG at 600px (>=94% of designed type size; still fits the ~632px desktop column scroll-free) and add local/scroll background scroll shadows on the figure, visible through the transparent dot-grid ground, with a surface-matched cover var the tinted marketing sections re-point. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
blove
enabled auto-merge (squash)
September 2, 2026 04:37
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
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.
Summary
min-widthscaled SVGs to 0.75× on phones, rendering the 10.5px meta text at ~7.9px with no visible hint that the figure scrolls (flagged in the Docs visual design: header-band callouts, SVG diagram kit, diagram audit #950 reviews)..tp-diagram-figure(thebackground-attachment: local/scrolltechnique, visible through the SVG's transparent dot-grid ground): a shadow appears only on the clipped side, so fully visible diagrams stay clean and clipped ones advertise the internal scroll.--diagram-scroll-bg; the tinted marketing sections re-point it so no white bars appear at the figure edges.Test Plan
nx test websitegreen (style-contracts pins min/max width)nx lint website0 errors🤖 Generated with Claude Code