console: long account names wrap inside the thank-you panel (billing-thanks review P2); round 1 findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+15
−1
docs/superpowers/reviews/CODEX-FINDINGS-billing-thanks-r1.md+14 −0internal/console/templates/layout.html+1 −1
CI passed — run details
Intent
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-billing-thanks-r1.md b/docs/superpowers/reviews/CODEX-FINDINGS-billing-thanks-r1.md| new file mode 100644 |
| index 000000000..53d3270cb |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-billing-thanks-r1.md |
| @@ -0,0 +1,14 @@ |
| +# Astra findings: billing-thanks, round 1 of 3 |
| + |
| +gpt-6-astra via codex, high, at 0cfdf542. Unedited. |
| + |
| +Round 1 at `0cfdf542576c4d4431d2e9e37b03a09f80c98afc`. No P1 findings. |
| + |
| +1. **P2 — Long account names overflow the thank-you panel at 390 px.** |
| + [layout.html:697](/home/paulca/.cache/tmp/claude-1001/billing-thanks/internal/console/templates/layout.html:697) applies `text-wrap: pretty` without allowing breaks inside words. The panel includes the account name, which accepts 63 consecutive letters. Such a name extends beyond the panel and viewport in either theme. |
| + **Fix:** Add `overflow-wrap: anywhere` to the welcome paragraph. Verify with a 63-character unbroken account name at 390 px. |
| + **Fault family:** Responsive containment of user-provided text. |
| + |
| +Validation: `git diff --check` passed. Targeted billing-page and Checkout-return tests could not start because the read-only sandbox prevented Go from creating its build directory. Theme, width and reduced-motion checks were static; browser rendering was not verified. No files changed. |
| + |
| +**READY AFTER FIXES** |
| \ No newline at end of file |
diff --git a/internal/console/templates/layout.html b/internal/console/templates/layout.html| index e4d508184..ccfb16369 100644 |
| --- a/internal/console/templates/layout.html |
| +++ b/internal/console/templates/layout.html |
| @@ -694,7 +694,7 @@ |
| } |
| .welcome-mark .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.6; } |
| .welcome h2 { margin: 0.35rem 0 0.4rem; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; } |
| - .welcome p { margin: 0; max-width: 62ch; text-wrap: pretty; } |
| + .welcome p { margin: 0; max-width: 62ch; text-wrap: pretty; overflow-wrap: anywhere; } |
| .welcome .welcome-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.15rem 0 0; max-width: none; } |
| .welcome-actions .btn { padding: 0.55rem 1.1rem; } |
| .welcome-actions .btn:not(.btn-secondary) { border: 1px solid transparent; } |