From 225ea8b23932cf2fc99e16e4ed89069e74a8eb4c Mon Sep 17 00:00:00 2001 From: Isaque Santos Date: Mon, 21 Sep 2026 17:20:44 -0300 Subject: [PATCH] refactor(page-content): use the theme's layout-boundary-inline for the prose column Swap `px-container` for the theme's own `layout-boundary-inline` utility on the article body, matching the layout primitives the docs layouts already use, and drop the three narrative comment blocks that explained the previous arrangement. --- src/components/PageContent/PageContent.astro | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/components/PageContent/PageContent.astro b/src/components/PageContent/PageContent.astro index 73b33f8363..07be96ec6e 100644 --- a/src/components/PageContent/PageContent.astro +++ b/src/components/PageContent/PageContent.astro @@ -64,14 +64,6 @@ const headerLabels = { } -->
{ - /* - * THE MASTHEAD IS A BANNER, THE PROSE IS A COLUMN. The header is NOT in - * `px-container` — it spans the content column edge to edge, so the rule it - * closes on reads as the page's own horizon instead of a line under the - * title. Its words still land on the container's measure, because - * `doc-page-banner` pads it by exactly what `px-container` would have - * (see the style below), so nothing has to fight the component's own border. - */ content.page_header !== false && ( ) } -
+
{ isFallback && ( @@ -102,13 +94,6 @@ const headerLabels = {
{ - /* - * The pair carries its own column and its own close: `px-container` is the - * measure the prose above it takes, and `pt-12` is the 48 that closes a - * section in the prose contract. It used to sit in an `aside` — a second - * landmark around a `nav` that already has one — under an `hr` that spent - * another 48 saying the same thing. - */ (previous || next) && (