Skip to content

Commit

Permalink
docs(layout): improve layout when content is short (twbs#30908)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
2 people authored and olsza committed Oct 3, 2020
1 parent ae27de2 commit 9d2b027
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/assets/scss/_layout.scss
Expand Up @@ -7,13 +7,15 @@
"sidebar toc"
"sidebar content";
grid-template-columns: 1fr 3fr;
grid-template-rows: auto auto 1fr;
}

@include media-breakpoint-up(lg) {
grid-template-areas:
"sidebar intro toc"
"sidebar content toc";
grid-template-columns: 1fr 4fr 1fr;
grid-template-rows: auto 1fr;
}
}

Expand Down

0 comments on commit 9d2b027

Please sign in to comment.