webviews: clear base react-apps-check reds (summary layer token, formatting)

Closed
TE
23d ago
+89-66

react-apps-check is red on every PR to feat-cmux-next because check-layers fails:

check-layers: new layer or transparency violations:
  webviews/src/agent-session/acpmux/summary/summary.css: 1 raw z-index, baseline 0 (lines 7)

d77476fd8129 (subagent panes, summary card) gave .acpmux-summary-card a raw z-index:3. The card floats over the transcript and its minimap in the pane's stage. It now takes var(--layer-sticky), the token Jump to latest uses in the same stage. That keeps it above the transcript and minimap, and the two don't overlap (the card is top right, the button bottom center).

Formatting is also red on base: vp fmt reformats App.tsx, modelPickerLayout.ts, subagents.gallery.ts, SubagentStatusList.tsx and cardState.ts. This PR formats them (formatting only). It overlaps #20464 and #20470, which format modelPickerLayout.ts alone.

Testing

  • python3 scripts/cmux-next/check-layers.py passes (it fails on base).
  • vp fmt --check passes on all 1398 webviews files.
  • No visible change: the card already sat above the transcript.

Changelog

none

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the base react-apps-check failures on feat-cmux-next: the summary card's raw z-index:3 becomes var(--layer-sticky), matching the "Jump to latest" button in the same stage, and the auto-open checkbox now has an aria-label matching its visible label. Also applies vp fmt to five files, formatting only.