aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src/components/RightSidebar/RightSidebar.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/components/RightSidebar/RightSidebar.astro')
-rw-r--r--examples/docs/src/components/RightSidebar/RightSidebar.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/src/components/RightSidebar/RightSidebar.astro b/examples/docs/src/components/RightSidebar/RightSidebar.astro
index c009d2202..71ad5e1c2 100644
--- a/examples/docs/src/components/RightSidebar/RightSidebar.astro
+++ b/examples/docs/src/components/RightSidebar/RightSidebar.astro
@@ -1,8 +1,7 @@
---
import TableOfContents from "./TableOfContents";
import MoreMenu from "./MoreMenu.astro";
-const { content, githubEditUrl } = Astro.props;
-const headings = content.astro.headings;
+const { content, headings, githubEditUrl } = Astro.props;
---
<nav class="sidebar-nav" aria-labelledby="grid-right">
@@ -18,6 +17,7 @@ const headings = content.astro.headings;
position: sticky;
top: 0;
}
+
.sidebar-nav-inner {
height: 100%;
padding: 0;