Conversation
Settings → Display → Text size: 13 / 15 / 17 / 19 / 21 px of body text, 15 (today's) by default. Scales the document's own blocks only (headings, lists, code, tables, callouts, question cards, the plan diff); the header, panels and menus keep their size. Raw HTML and diagrams draw themselves. Cookie-only setting; at the default nothing is put on the page. The guides.show viewer manifest is regenerated (the registry is bundled there).
) Review on #2073: - Settings shows the Text size row only with showDocumentTextSize (default off); Plannotator passes it on a markdown or text document, so raw HTML, live apps and diagram files have no row. - The size a block root passes down scales too (list markers, alert titles), in the base layer so a block's own size class still wins; task checkboxes and the question card's radios and Other mark scale with the text. - Rules are scoped to a document container (data-doc-text-root) and leave out the table / diagram popouts and diagram blocks entirely. - Doc comment names theme.css. Viewer manifest re-synced.
1 task
backnotprop
added a commit
to ilja/plannotator2
that referenced
this pull request
Oct 28, 2026
Main already has Text size (backnotprop#2073), so the size setting goes. The font is redone on the same scope as Text size (the document's blocks, in theme.css), so the per-block document-prose / document-scaled classes and utils/documentTypography are no longer needed.
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.
Adds a Text size row to Settings → Display in plan review and annotate: 13, 15, 17, 19 or 21 px of body text. 15 is the default and matches today's size.
Only the document scales: headings, lists, inline and fenced code, tables, callouts, question cards and the plan diff. The header, sidebars, panels and menus stay the same size, which is the issue's complaint about VS Code zoom. Raw HTML pages and diagrams render themselves, so they don't change.
The setting is stored in a cookie, like the other Display settings. At 15 the app adds nothing to the page, and every CSS rule that reads the scale only applies when the
data-doc-text-sizeattribute is set (a test checks this). The settings registry is bundled into the guides.show viewer, so the viewer manifest was regenerated.Fixes #2066.