Skip to content

Commit

Permalink
fix: add some spacing after content
Browse files Browse the repository at this point in the history
So things don't look so chopped off
  • Loading branch information
tivac committed Feb 9, 2019
1 parent b47c1ad commit d84579a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/www/src/guide/guide.html
Expand Up @@ -9,8 +9,7 @@
composes: bd from "../site.css";

max-width: contentWidth;
margin: 1rem;
margin-left: calc(sidebarWidth + 1.5rem);
margin: 1rem 1rem 0 calc(sidebarWidth + 1.5rem);

@media narrow {
margin-left: 2rem;
Expand Down
2 changes: 1 addition & 1 deletion packages/www/src/guide/sidebar.html
Expand Up @@ -14,7 +14,7 @@
}

.sidebar :global(.toc) {
margin: 1rem;
margin: 1rem 1rem 5rem 1rem;
padding: 0;

font-size: 85%;
Expand Down
3 changes: 2 additions & 1 deletion packages/www/src/home/home.html
Expand Up @@ -6,7 +6,8 @@

flex: 0;

padding: 0 1rem;
/* padding: 0 1rem; */
/* margin: inherit 1rem 5rem 1rem; */

display: grid;
grid-template:
Expand Down
6 changes: 1 addition & 5 deletions packages/www/src/site.css
Expand Up @@ -104,11 +104,7 @@ a:hover {

.content {
min-height: calc(100vh - contentTop);
margin-top: contentTop;
}

.bd > :last-child{
margin-bottom: 5rem;
margin: contentTop 1rem 5rem 1rem;
}

.bd h2 {
Expand Down

0 comments on commit d84579a

Please sign in to comment.