From f172816d52d0c9cd074d12709c1cb5bf0b4eebde Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Fri, 12 Apr 2024 21:34:04 +0200 Subject: [PATCH] Automatically opens categories when navigated to and scrolls them into view --- .changeset/stale-zebras-marry.md | 5 + components/starlight/StarlightConnector.astro | 56 ++-- package-lock.json | 244 ++++++++++-------- 3 files changed, 169 insertions(+), 136 deletions(-) create mode 100644 .changeset/stale-zebras-marry.md diff --git a/.changeset/stale-zebras-marry.md b/.changeset/stale-zebras-marry.md new file mode 100644 index 0000000..77163a1 --- /dev/null +++ b/.changeset/stale-zebras-marry.md @@ -0,0 +1,5 @@ +--- +"astro-vtbot": patch +--- + +Improves sidebar handling: Automatically opens categories when navigated to and scrolls them into view. diff --git a/components/starlight/StarlightConnector.astro b/components/starlight/StarlightConnector.astro index 7c4491b..8a65f71 100644 --- a/components/starlight/StarlightConnector.astro +++ b/components/starlight/StarlightConnector.astro @@ -3,13 +3,12 @@ export interface Props {} ---