Skip to content

fix(page-content): align the masthead, prose, and pagination on one theme column - #2382

Merged
marcus-souza-azion merged 1 commit into
release/new-azion-docsfrom
fix/page-content
Sep 21, 2026
Merged

marcus-souza-azion merged 1 commit into
release/new-azion-docsfrom
fix/page-content

Conversation

@marcus-souza-azion

Copy link
Copy Markdown
Contributor

What & why

#2380 swapped the prose section from px-container to layout-boundary-inline, but that utility only sets the inline gutter — the measure and the centering live in the layout-column-* utilities, whose max-width rule is nested behind &:is(.layout-boundary, .layout-boundary-inline). The prose lost both and ran the full width of the content column, 193px left of the title it sits under.

image

This one finishes the migration instead of reverting it. The three blocks of the article now read one COLUMN constant, and the masthead — still full bleed, so its rule stays the page's horizon — derives its inset from the same two tokens rather than a hand-written copy of px-container's math, which drops the media query with it.

px-container had no callers left, so it goes.

Measured on the dev server: title, prose and pagination all land on 515 -> 1391 at
1920. Alignment holds across 11 container widths x both values of --layout-boundary-inline, covering both branches of the max().

The prose measure changes from 960px to 876px: no theme column reproduces 960 (px-container put the gutter inside its max-width, the theme columns put it outside), and --layout-measure-content is the token named for this.

Type of change

  • 🆕 New content (feat)
  • 🩹 Fix (fix) — typo, broken link, wrong information
  • ♻️ Content update (docs) — rewrite, expansion, upkeep
  • 🌐 Translation sync (i18n)
  • 🏗️ Platform / structure (refactor / chore) — reviewed by UXE, no content mixed in

Author checklist

  • PR title follows type(scope): summary (see GOVERNANCE.md §4)
  • Frontmatter complete: title, description, meta_tags, namespace, permalink, last_reviewed
  • No legacy "edge-" product names in the copy
  • How-to/tutorial content includes at least one runnable, copy-paste-tested code block
  • Screenshots (if any) have alt text and follow image standards
  • Internal links are relative and resolve locally
  • If any permalink changed or page moved: redirect added in this PR
  • i18n: pt-br updated in this PR or follow-up i18n issue created:
  • I ran pnpm build:local (build + frontmatter check) without errors

…heme column

#2380 swapped the prose section from `px-container` to `layout-boundary-inline`,
but that utility only sets the inline gutter — the measure and the centering live
in the `layout-column-*` utilities, whose max-width rule is nested behind
`&:is(.layout-boundary, .layout-boundary-inline)`. The prose lost both and ran the
full width of the content column, 193px left of the title it sits under.

Finish the migration instead of reverting it. The three blocks of the article now
read one COLUMN constant, and the masthead — still full bleed, so its rule stays
the page's horizon — derives its inset from the same two tokens rather than a
hand-written copy of `px-container`'s math, which drops the media query with it.

`px-container` had no callers left, so it goes.

Measured on the dev server: title, prose and pagination all land on 515 -> 1391 at
1920. Alignment holds across 11 container widths x both values of
`--layout-boundary-inline`, covering both branches of the `max()`.

The prose measure changes from 960px to 876px: no theme column reproduces 960
(`px-container` put the gutter inside its max-width, the theme columns put it
outside), and `--layout-measure-content` is the token named for this.
@marcus-souza-azion
marcus-souza-azion requested a review from a team as a code owner September 21, 2026 22:08
@marcus-souza-azion
marcus-souza-azion merged commit 71fac2d into release/new-azion-docs Sep 21, 2026
6 of 8 checks passed
@marcus-souza-azion
marcus-souza-azion deleted the fix/page-content branch September 21, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant