Skip to content
Snippets Groups Projects
Commit 90e49ba9 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Make toc sticky up to the bottom of the page

parent b22ba488
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
<div class="row flex-md-nowrap">
{{ super() }}
{% block toc %}
<div class="d-none d-md-block col-md-2 order-2 sticky-top" style="top: 1rem; height: 100vh;">
<div class="d-none d-md-block col-md-2 order-2 sticky-top" style="top: 1rem; height: 100%;">
{{ nav(toc, "nav flex-column border-left") }}
</div>
{% endblock toc %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment