From cb3ea27455fe5348fee3c650d322edbcc9f93c5d Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Fri, 22 Sep 2023 10:18:01 +0100 Subject: [PATCH] reimplement table-of-contents scrollbar --- src/components/TableOfContents.astro | 61 +++------------------------- src/layouts/DocsArticle.astro | 6 ++- 2 files changed, 10 insertions(+), 57 deletions(-) diff --git a/src/components/TableOfContents.astro b/src/components/TableOfContents.astro index 759f4caa..7ca3f296 100644 --- a/src/components/TableOfContents.astro +++ b/src/components/TableOfContents.astro @@ -38,58 +38,9 @@ function buildToc(headings: BasicHeading[]) { } --- - - - + diff --git a/src/layouts/DocsArticle.astro b/src/layouts/DocsArticle.astro index 4161ce05..4958610f 100644 --- a/src/layouts/DocsArticle.astro +++ b/src/layouts/DocsArticle.astro @@ -72,8 +72,10 @@ const contributeLinks = [ ) } -