Skip to content

Commit

Permalink
docs: make container wider
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjagodic committed May 22, 2023
1 parent bdccfeb commit 6368b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/src/components/docs-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function DocsTemplate({
group,
}) {
return (
<Container size="md">
<Container>
<SidebarLayout sidebar={showSidebar && <DocsSidebar docsNav={docsNav} location={location} />}>
<article data-docs-content>
{filename && <EditLink collection={`docs_${group}`} filename={filename} />}
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/sidebar-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function SidebarLayout({ sidebar, children }) {
css={css`
${mq[1]} {
display: grid;
grid-template-columns: ${sidebar ? '300px' : ''} minmax(0, 1fr);
grid-template-columns: ${sidebar ? 'clamp(160px, 20vw, 320px)' : ''} minmax(0, 1fr);
grid-gap: 2rem;
}
`}
Expand Down

0 comments on commit 6368b84

Please sign in to comment.