Context
On 2026-11-20 both cold readers of the More components page (the Cold look of #21544) saw the Markdown VDOM card's caption over running text: the end of <script>alert('nope')</script> shows through the caption bar, and the line under the toolbar is cut in half. #21474's own cold look had already named it: the cover needs a lower edge that stays calm under the caption.
The Problem
The cover (devmode/markdown-14.jpg, from the markdown capture recipe) is the page where its stream ends. The document ends flush with the bottom of its scrolling area, so the paragraph the cover exists for, a script tag and a javascript: link rendered as plain text, lands in the part of the frame a card covers with its caption. The scrolled document also runs up to the toolbar's buttons with no edge between them, so the line cut at the top reads as a rendering fault.
The Architectural Reality
examples/component/markdown/MainContainer.mjs: a vbox viewport holding a wrapping Toolbar and a MarkdownVdom (flex: 1) whose inline style is overflow: auto; padding: 1em.
apps/portal/resources/data/example-captures.json, recipe markdown: 640 × 360 from the top-left, ready once the last paragraph has rendered.
- The renewed examples draw a toolbar's edge with
color-mix(in srgb, var(--neo-color) 14%, transparent) (resources/css/src/examples/component/wrapper/mermaid/MainContainer.css).
The Fix
- The toolbar gets that edge, and the output's styles move into
resources/css/src/examples/component/markdown/MainContainer.css, with 6em of room after the document.
- Retake the cover from the unchanged recipe and publish it in neomjs/pages.
Measured on a prototype at dev 2e594a683b: three captures give the same bytes (sha256 f47e15b8…, 101,479 bytes); the frame opens on a whole line under the toolbar's edge, and the last paragraph sits in its upper three quarters.
Acceptance Criteria
Out of Scope
- The caption's own design on the Portal's cards.
- What the streamed document says.
Related
Parent #21367 · #21474 (the cover's first take) · #21544 (the cold look)
Live latest-open + closed sweep: checked the latest 20 open and open and closed searches (markdown cover, markdown-14, Markdown VDOM caption; #21474 and #21120 read on hits) at 2026-11-20T01:03Z; no equivalent or prior exclusion found. Backlog band: 63 open (red); this is a leaf of the owning lane #21367. A2A in-flight claim sweep: the 30 newest messages in all read states at 00:57Z; no claim on this surface. MC sweep: one query on the symptom; no earlier ticket. Own-assignment sweep: #21367 is the parent; no other open ticket on this surface.
Ownership: self-assigned, a leaf of my #21367 lane (lock Sun 22 Nov, 17:00 UTC).
Origin Session ID: f82663a0-c817-4a0a-a6eb-63282a7bd7bb
Retrieval Hint: "markdown example cover caption last paragraph toolbar edge retake markdown-14"
Context
On 2026-11-20 both cold readers of the More components page (the Cold look of #21544) saw the Markdown VDOM card's caption over running text: the end of
<script>alert('nope')</script>shows through the caption bar, and the line under the toolbar is cut in half. #21474's own cold look had already named it: the cover needs a lower edge that stays calm under the caption.The Problem
The cover (
devmode/markdown-14.jpg, from themarkdowncapture recipe) is the page where its stream ends. The document ends flush with the bottom of its scrolling area, so the paragraph the cover exists for, a script tag and ajavascript:link rendered as plain text, lands in the part of the frame a card covers with its caption. The scrolled document also runs up to the toolbar's buttons with no edge between them, so the line cut at the top reads as a rendering fault.The Architectural Reality
examples/component/markdown/MainContainer.mjs: avboxviewport holding a wrappingToolbarand aMarkdownVdom(flex: 1) whose inlinestyleisoverflow: auto; padding: 1em.apps/portal/resources/data/example-captures.json, recipemarkdown: 640 × 360 from the top-left, ready once the last paragraph has rendered.color-mix(in srgb, var(--neo-color) 14%, transparent)(resources/css/src/examples/component/wrapper/mermaid/MainContainer.css).The Fix
resources/css/src/examples/component/markdown/MainContainer.css, with6emof room after the document.Measured on a prototype at
dev2e594a683b: three captures give the same bytes (sha256f47e15b8…, 101,479 bytes); the frame opens on a whole line under the toolbar's edge, and the last paragraph sits in its upper three quarters.Acceptance Criteria
devmode/markdown-14.jpg.Out of Scope
Related
Parent #21367 · #21474 (the cover's first take) · #21544 (the cold look)
Live latest-open + closed sweep: checked the latest 20 open and open and closed searches (
markdown cover,markdown-14,Markdown VDOM caption; #21474 and #21120 read on hits) at 2026-11-20T01:03Z; no equivalent or prior exclusion found. Backlog band: 63 open (red); this is a leaf of the owning lane #21367. A2A in-flight claim sweep: the 30 newest messages in all read states at 00:57Z; no claim on this surface. MC sweep: one query on the symptom; no earlier ticket. Own-assignment sweep: #21367 is the parent; no other open ticket on this surface.Ownership: self-assigned, a leaf of my #21367 lane (lock Sun 22 Nov, 17:00 UTC).
Origin Session ID: f82663a0-c817-4a0a-a6eb-63282a7bd7bb Retrieval Hint: "markdown example cover caption last paragraph toolbar edge retake markdown-14"