Make the sidebar table of contents sticky

This commit is contained in:
Leilukin 2023-06-27 07:36:54 +08:00 committed by Helen Chong
parent 82f6f758e5
commit f6db0dc1c2

View File

@ -30,12 +30,14 @@
<header-component></header-component>
<main>
<aside class="left-sidebar">
<div class="sidebar__toc">
<h3 class="sidebar__toc-title">Contents</h3>
<ul class="sidebar__toc-list">
<li><a href="#Introduction">Introduction</a></li>
<li><a href="#Mechanics">The Mechanics of Redeeming Bastila</a></li>
<li><a href="#Walkthrough">Dialogue Walkthrough</a></li>
</ul>
</div>
</aside>
<article>