aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ToC/ToC.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-06 19:27:45 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-06 19:30:06 +0100
commit722ec20bad64d8c69b173c163011d37ad0b55591 (patch)
tree0470e54f758d9383fff3fdb4c9b685faa3bde6ae /src/components/ToC/ToC.module.scss
parent1494985a636fe22417615648062f17bc82c35655 (diff)
chore: move Main grid to its children
This way I can use full width background for some blocks.
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;
+}