From 31f0cfa3a414c4f0a26c344f8fb0130ac95c5f1d Mon Sep 17 00:00:00 2001 From: zhangxiang Date: Wed, 25 Nov 2026 09:00:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(css):=20container-wide=20=E6=8D=A2=E6=88=90?= =?UTF-8?q?=E7=9C=9F=E5=AE=9E=E5=AD=98=E5=9C=A8=E7=9A=84=20container-x?= =?UTF-8?q?=EF=BC=886=20=E4=B8=AA=E6=96=87=E4=BB=B6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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。 视觉基线随重采(见后续提交)。 --- src/app/(marketing)/products/standalone/[id]/client.tsx | 8 ++++---- src/app/error.tsx | 2 +- src/app/not-found-content.tsx | 2 +- src/app/privacy/page.tsx | 8 ++++---- src/app/terms/page.tsx | 8 ++++---- src/components/ui/skeleton.tsx | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/app/(marketing)/products/standalone/[id]/client.tsx b/src/app/(marketing)/products/standalone/[id]/client.tsx index 69cf1474..f4671036 100644 --- a/src/app/(marketing)/products/standalone/[id]/client.tsx +++ b/src/app/(marketing)/products/standalone/[id]/client.tsx @@ -71,7 +71,7 @@ export function StandaloneProductClient({ item }: StandaloneProductClientProps) {status === 'coming-soon' ? (
-
+
-
+
0 && (
-
+
0 && (
-
+
-
+
diff --git a/src/app/not-found-content.tsx b/src/app/not-found-content.tsx index 10e50b4a..d1338833 100644 --- a/src/app/not-found-content.tsx +++ b/src/app/not-found-content.tsx @@ -8,7 +8,7 @@ import { ArrowLeft, Search } from 'lucide-react'; export function NotFoundContent() { return (
-
+

diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx index 03c29773..55def041 100644 --- a/src/app/privacy/page.tsx +++ b/src/app/privacy/page.tsx @@ -13,7 +13,7 @@ export const revalidate = 3600; function PrivacyContent() { return ( -
+

引言

@@ -250,7 +250,7 @@ export default async function PrivacyPolicyPage() { return (

-
+

{heroTitle}

@@ -260,11 +260,11 @@ export default async function PrivacyPolicyPage() {
-
+
{cmsContent ? (
) : ( diff --git a/src/app/terms/page.tsx b/src/app/terms/page.tsx index 7894fbd7..b4c023a8 100644 --- a/src/app/terms/page.tsx +++ b/src/app/terms/page.tsx @@ -13,7 +13,7 @@ export const revalidate = 3600; function TermsContent() { return ( -
+

引言

@@ -195,7 +195,7 @@ export default async function TermsOfServicePage() { return (

-
+

{heroTitle}

@@ -205,11 +205,11 @@ export default async function TermsOfServicePage() {
-
+
{cmsContent ? (
) : ( diff --git a/src/components/ui/skeleton.tsx b/src/components/ui/skeleton.tsx index f4218876..fcb70492 100644 --- a/src/components/ui/skeleton.tsx +++ b/src/components/ui/skeleton.tsx @@ -135,7 +135,7 @@ export function SkeletonHero({ className }: SkeletonHeroProps) { aria-label="页面标题加载中" aria-busy="true" > -
+