Skip to content

Commit

Permalink
Merge branch 'main' into custom_search_docs
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Aug 18, 2023
2 parents cdfd7fe + d03feaa commit eb89894
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-snakes-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/gatsby-theme-doctocat": patch
---

- Add maxWidth: '1200' to the base layout container so that content widths are consistent across primer.style docs
2 changes: 2 additions & 0 deletions theme/src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ function Layout({children, pageContext, path}) {
justifyContent: 'center',
flexDirection: 'row-reverse',
display: 'flex',
maxWidth: '1200px',
mx: 'auto',
width: '100%',
p: [4, 5, 6, 7]
}}
Expand Down

0 comments on commit eb89894

Please sign in to comment.