summaryrefslogtreecommitdiffstats
path: root/src/components/ToC/ToC.module.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ToC/ToC.module.scss')
-rw-r--r--src/components/ToC/ToC.module.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/ToC/ToC.module.scss b/src/components/ToC/ToC.module.scss
new file mode 100644
index 0000000..27e79ad
--- /dev/null
+++ b/src/components/ToC/ToC.module.scss
@@ -0,0 +1,11 @@
+.wrapper {
+ max-height: 100vh;
+ padding-bottom: var(--spacing-sm);
+ position: sticky;
+ top: 0;
+ overflow-y: auto;
+}
+
+.list {
+ margin-bottom: 0;
+}