fix(css): container-wide 换成真实存在的 container-x(6 个文件)

`container-wide` 是一个**全仓从未定义**的类名(globals.css 里没有
`.container-wide`),于是这些页面的内容实际贴左边缘、没有栅格。
ADR-0009「追加发现 1」登记为独立动作,但只写了「privacy / terms / not-found
三处」—— 实测是 6 个文件:

- privacy / terms(各 2 处)
- not-found-content(404 页)
- error.tsx
- components/ui/skeleton.tsx 的 SkeletonHero
- products/standalone/[id]/client.tsx(4 处)

同时摘掉 4 处 `prose` / `prose-lg`:本仓**没装** @tailwindcss/typography,
这两个类同样是死类名。排版规则本身属设计裁定,登记为已知缺口
(docs/acceptance/qa-tracker.md §18.6),此处只删死类名、保留 max-w-none。

可见变化(实测):`/privacy` 页高 2402px → 2444px。
视觉基线随重采(见后续提交)。
This commit is contained in:
zhangxiang committed 2026-11-25 09:00:12 +08:00
1 parent fb14bf70d3
commit 31f0cfa3a4
6 files changed
+15 -15

No files matched your search

+4 -4
View File
@@ -13,7 +13,7 @@ export const revalidate = 3600;
function TermsContent() {
return (
<div className="prose prose-lg max-w-none">
<div className="max-w-none">
<section className="mb-12">
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-4">引言</h2>
<p className="text-[var(--color-text-muted)] leading-relaxed mb-4">
@@ -195,7 +195,7 @@ export default async function TermsOfServicePage() {
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<div className="bg-gradient-to-br from-[var(--color-brand)] via-brand/80 to-[var(--color-brand-section)] py-20">
<div className="container-wide">
<div className="container-x">
<h1 className="text-4xl md:text-5xl font-bold text-white mb-4">
{heroTitle}
</h1>
@@ -205,11 +205,11 @@ export default async function TermsOfServicePage() {
</div>
</div>
<div className="container-wide py-16">
<div className="container-x py-16">
<div className="max-w-4xl">
{cmsContent ? (
<div
className="prose prose-lg max-w-none"
className="max-w-none"
dangerouslySetInnerHTML={{ __html: sanitizeRichText(cmsContent) }}
/>
) : (