refactor(page-content): use the theme's layout-boundary-inline for the prose column - #2380
Merged
isaque-bock-azion merged 1 commit intoSep 21, 2026
Conversation
…e 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.
guilherme-santana-azion
approved these changes
Sep 21, 2026
isaque-bock-azion
merged commit Sep 21, 2026
2dc07b3
into
release/new-azion-docs
6 of 8 checks passed
5 of 14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The article body in
PageContent.astronow takes the theme's ownlayout-boundary-inlineutility instead of the localpx-container, aligning it with the layout primitivesDocsHomeLayoutandDocsDirectoryLayoutalready use.The three narrative comment blocks describing the previous masthead/pagination arrangement were removed.
Note for review
px-containerwas a local@utilitythat setmax-width: var(--container-4xl)+ auto margins and a gutter;layout-boundary-inline(from@aziontech/theme) setspadding-inline: var(--layout-boundary-inline)only. Used alone, the prose section therefore loses its measure cap —DocProseitself isw-full. The other two layouts pair the utility withmx-auto w-full max-w-(--layout-measure-site).Worth confirming on a wide viewport that this is the intended width, and whether
DocPagination(still onpx-container) and the.doc-page-bannerpadding math (still keyed to--container-4xl) should follow.