From ddb8586e3dc34027fedeaa61eb0baf730922cf0e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 9 Aug 2026 01:59:20 +0000 Subject: [PATCH] =?UTF-8?q?docs(layout):=20page-header=20=E7=9A=84=20Respo?= =?UTF-8?q?nsive=20Behavior=20=E6=8C=89=20PageHeader=20=E7=8E=B0=E7=8A=B6?= =?UTF-8?q?=E6=94=B9=E5=86=99=20Spacing=20=E4=B8=80=E8=A1=8C=20(#3902)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `content/docs/layout/page-header.mdx:229` 的「Spacing: Adjusts padding for different screen sizes」是 #3786 修掉的那个假断言的第四份副本: `packages/layout/src/PageHeader.tsx:210` 的根 class 是 `flex flex-col gap-3 pb-4 border-b`,padding 与 gap 都没有断点变体;整个文件 里唯一带断点前缀的类是标题的 `md:text-3xl`(:231)。PR3905 落地后,Styling → Container 说「at every breakpoint — there is no responsive variant」,四行之后 的 Responsive Behavior 却说 padding 随屏幕尺寸调整 —— 同一页自相矛盾。 按现实改写这一行,并沿用 #3786 在 Container 节定下的措辞;真正随断点变化的 标题字号只做指向(Styling → Title 已有该数值),不再复制具体数值,避免这个 断言长出第五份副本。同小节 Mobile / Desktop 两行已核为真(标题行 `flex flex-wrap` :211、右槽 `ml-auto` :235),不动。 --- content/docs/layout/page-header.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/layout/page-header.mdx b/content/docs/layout/page-header.mdx index e6f90888ec..2eb76f44a7 100644 --- a/content/docs/layout/page-header.mdx +++ b/content/docs/layout/page-header.mdx @@ -226,7 +226,7 @@ The PageHeader includes: - **Mobile**: Actions stack below title if needed - **Desktop**: Actions align to right side -- **Spacing**: Adjusts padding for different screen sizes +- **Spacing**: Identical at every breakpoint — there is no responsive padding variant; the only breakpoint-driven change is the title's font size (see Styling → Title) ## Related