Skip to content

Cap System diagram previews at 800px height - #999

Merged
seveibar merged 1 commit into
mainfrom
fix/system-preview-height
Nov 4, 2026
Merged

seveibar merged 1 commit into
mainfrom
fix/system-preview-height

Conversation

@seveibar

@seveibar seveibar commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Tall System block diagrams now stop at 800px high in CircuitPreview, including both the normal tabbed/stacked layout and explicit left/right previews. The image scales proportionally with object-fit: contain, and block display removes the inline-image gap underneath.

Validation: production docs build, typecheck, and formatting passed locally and in CI. Chromium checked all six System examples across the four element pages and guide at 1600px and 390px widths, both locally and on the deployed preview: images and their wrappers stay at or below 800px, and smaller mobile diagrams remain responsive.

Preview pages:

@vercel

vercel Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 4, 2026 6:47pm UTC

Request Review

@seveibar
seveibar merged commit b796312 into main Nov 4, 2026
5 checks passed
@tscircuitbot

Copy link
Copy Markdown

Thank you for your contribution! 🎉

PR Rating: ⭐
Impact: Tiny

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


This branch was successfully deployed

1 active deployment
Preview — 73178272 Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants