Skip to content

Commit

Permalink
Change max-height to height in documentation sidebars (#24446)
Browse files Browse the repository at this point in the history
If the content of the page does not extend the full viewport height, the sidebars were shortened.
  • Loading branch information
gijsbotje authored and XhmikosR committed Oct 20, 2017
1 parent 9e6dabb commit b21c822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scss/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@supports (position: sticky) {
position: sticky;
top: 4rem;
max-height: calc(100vh - 4rem);
height: calc(100vh - 4rem);
overflow-y: auto;
}
order: 2;
Expand Down Expand Up @@ -59,7 +59,7 @@
position: sticky;
top: 4rem;
z-index: 1000;
max-height: calc(100vh - 4rem);
height: calc(100vh - 4rem);
}
border-right: 1px solid rgba(0,0,0,.1);
}
Expand Down

0 comments on commit b21c822

Please sign in to comment.