Make the sidebar table of contents sticky

This commit is contained in:
Helen Chong 2023-06-27 07:36:54 +08:00
parent 74878a03aa
commit d669138660
1 changed files with 8 additions and 6 deletions

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>