Skip to content

fix(mermaid): open fullscreen at a readable zoom (0.6.1) - #25

Merged
CharanMN7 merged 2 commits into
mainfrom
fix/mermaid-readable-fullscreen
Sep 27, 2026
Merged

CharanMN7 merged 2 commits into
mainfrom
fix/mermaid-readable-fullscreen

Conversation

@CharanMN7

Copy link
Copy Markdown
Contributor

Fitting a wide diagram to a phone (or a 30-node graph to a laptop) shrank labels to ~6px in the fullscreen view: technically "the whole diagram", practically unreadable.

Fullscreen now opens zoomed so labels are at least 75% of mermaid's own size (centered). The fit button (and 0) still show the whole diagram, and the minimap appears for orientation since the view is zoomed. Inline behavior is unchanged.

Verified in headless Chrome: 390px phone on the communities.charan.dev post (opens at 348%, labels ~12px, pannable) and the big graph on the docs page at 1440×900 (opens at 202% with minimap). All other viewer checks still pass, no console errors.

Bumps @inkform/framework to 0.6.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EaJaU595iENT8fc7mcHDWC

Fitting a wide diagram to a phone (or a large graph to a laptop) shrank
labels to a few pixels. Fullscreen now opens zoomed so labels are at
least 75% of mermaid's size, centered; the fit button still shows the
whole diagram.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EaJaU595iENT8fc7mcHDWC
@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
framework-inkform-docs Ready Ready Preview Sep 27, 2026 2:19pm UTC
pokeapi Ready Ready Preview Sep 27, 2026 2:19pm UTC

Request Review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EaJaU595iENT8fc7mcHDWC
@vercel
vercel Bot temporarily deployed to Preview – pokeapi September 27, 2026 14:19 Inactive
@vercel
vercel Bot temporarily deployed to Preview – framework-inkform-docs September 27, 2026 14:19 Inactive
@CharanMN7
CharanMN7 merged commit 0e177ed into main Sep 27, 2026
4 checks passed

This branch was previously deployed

2 inactive deployments
Preview – framework-inkform-docs — 4b8c434d Deployed Sep 27, 2026 by vercel[bot]
Preview – pokeapi — 4b8c434d Deployed Sep 27, 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.

1 participant