Found while re-verifying #610 against main after #578 landed; kept out of that PR on purpose.
website/docs/{en,zh}/index.mdx used to show the artifact layout as per-host <Tabs>. #578 (62b69c068) replaced them with a single text tree whose comment column runs to 72–76 characters:
│ ├── session-start-….claude.mjs # one wrapper per host the hook reaches
That block sits inside the two-column .ab-compare layout (website/styles/index.css:204), whose code scroller is 484 px wide at 1440 × 900 — about 57 columns — so the tree scrolls horizontally on the home page (measured: scrollWidth 679 px vs clientWidth 484 px; .rp-codeblock__content__scroll-container). Every other authored fence on the site fits after #599 (0/274 overflowing at 1440 × 900), so this is the only remaining one, and it is on the landing page.
Fix options, either is a few lines in index.mdx (en + zh together, AGENTS.md parity):
- Shorten or drop the trailing
# … comments so lines stay ≤ 56 characters, or
- Move the tree out of
.ab-compare into the full-width column (818 px, ~97 columns), where the current 76-character lines fit.
Refs #590 (the audit's code-width item), #578.
Found while re-verifying #610 against
mainafter #578 landed; kept out of that PR on purpose.website/docs/{en,zh}/index.mdxused to show the artifact layout as per-host<Tabs>. #578 (62b69c068) replaced them with a singletexttree whose comment column runs to 72–76 characters:That block sits inside the two-column
.ab-comparelayout (website/styles/index.css:204), whose code scroller is 484 px wide at 1440 × 900 — about 57 columns — so the tree scrolls horizontally on the home page (measured:scrollWidth679 px vsclientWidth484 px;.rp-codeblock__content__scroll-container). Every other authored fence on the site fits after #599 (0/274 overflowing at 1440 × 900), so this is the only remaining one, and it is on the landing page.Fix options, either is a few lines in
index.mdx(en + zh together, AGENTS.md parity):# …comments so lines stay ≤ 56 characters, or.ab-compareinto the full-width column (818 px, ~97 columns), where the current 76-character lines fit.Refs #590 (the audit's code-width item), #578.