From 2438dce63d5e1140a555970ed271348eff96e8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 16 May 2026 17:58:20 +0200 Subject: [PATCH] docs(layout): pin the legal-page narrow-column convention in code comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The privacy + about pages constrain their main column to `max-w-3xl` (768 px) while the rest of the app uses `max-w-screen-xl` (1280 px). That's a deliberate readability choice -- long-form legal text is easier to read at 70-80 chars per line -- but the convention wasn't documented inline, so a future contributor could see the deviation from the shell width as a stale token and "fix" it. Inline rationale comment on both `
` blocks per the audit finding §3.4. No layout change. --- src/app/about/page.tsx | 6 ++++++ src/app/privacy/page.tsx | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index aa2d24e84..01bb28386 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -81,6 +81,12 @@ export default function AboutPage() { + {/* + v1.4.33 IW9 — `max-w-3xl` is intentional (same rationale as + `/privacy`): long-form column reads better around 70-80 + chars per line. The dashboard / settings / admin shells use + `max-w-screen-xl` (1280 px); legal pages stay at 768 px. + */}
+ {/* + v1.4.33 IW9 — `max-w-3xl` (768 px) is intentional, not a stale + token. The legal/long-form column reads better at 70-80 chars + per line; widening to the app shell's `max-w-screen-xl` would + push line lengths to ~120 chars on a 1440 px laptop and degrade + legibility. The same exception applies to `/about`. + */}