Skip to content

Commit

Permalink
Make docs layout full-width (#1324)
Browse files Browse the repository at this point in the history
Instead of limiting the whole page to 1200 px, limit the markdown
content to 1000px and center it.
  • Loading branch information
silverwind authored Oct 15, 2020
1 parent b2d7e37 commit 48ca18b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www/_eleventy/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@
.markdown-body {
padding: 0 3em;
margin-bottom: 50vh;
margin-left: auto;
margin-right: auto;
max-width: 1000px;
}
.github-button {
display: none;
Expand Down Expand Up @@ -363,7 +365,6 @@
}
.container {
max-width: 1200px;
margin: auto;
}
.search-form {
Expand Down

1 comment on commit 48ca18b

@vercel
Copy link

@vercel vercel bot commented on 48ca18b Oct 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.