Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions assets/scss/td/_main-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@

.td-main {
flex-grow: 1;
@at-root .td-section &,
.td-page & {
// Use flex so descendant elements (like <main>) can grow to fill the
// available vertical (viewport) space, but only for docs layouts (it breaks
// td-home, which needs column-based layout). We select docs layouts via
// .td-section and .td-page above.
display: flex;
}
}

.td-404 main,
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/td/_sidebar-toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@supports (position: sticky) {
position: sticky;
top: $td-navbar-min-height;
margin-top: $td-navbar-min-height;
height: calc(100vh - #{$td-navbar-min-height});
overflow-y: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docsy",
"version": "0.14.0-dev+96-gec568185",
"version": "0.14.0-dev+97-g6230b09e",
"repository": "github:google/docsy",
"homepage": "https://www.docsy.dev",
"license": "Apache-2.0",
Expand Down
Loading