Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/polite-pianos-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

chore(PageLayout): update wrapper dimensions
Comment thread
francinelucca marked this conversation as resolved.
Outdated
3 changes: 3 additions & 0 deletions packages/react/src/PageLayout/PageLayout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ body[data-page-layout-dragging='true'] * {
margin-right: auto;
margin-left: auto;
flex-wrap: wrap;
/* the wrapper should match the Root's dimensions by default */
width: 100%;
height: 100%;

&:where([data-width='medium']) {
max-width: 768px;
Expand Down
Loading