summaryrefslogtreecommitdiff
path: root/docs/src/components/SiteSidebar.astro
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/components/SiteSidebar.astro')
-rw-r--r--docs/src/components/SiteSidebar.astro12
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/src/components/SiteSidebar.astro b/docs/src/components/SiteSidebar.astro
index 33e9fbfb6..6d003d71d 100644
--- a/docs/src/components/SiteSidebar.astro
+++ b/docs/src/components/SiteSidebar.astro
@@ -24,15 +24,13 @@ const {currentPage} = Astro.props;
<style>
nav {
position: sticky;
- min-height: calc(100vh - var(--theme-navbar-height));
- height: calc(100vh - var(--theme-navbar-height));
- top: var(--theme-navbar-height);
- width: 100%;
- margin-right: 1rem;
+ min-height: calc(100vh - 3.5rem);
+ height: calc(100vh - 3.5rem);
+ top: 3.5rem;
}
.nav-groups {
height: 100%;
- padding: 0;
+ padding: 2rem 0;
overflow: auto;
}
@@ -68,4 +66,4 @@ const {currentPage} = Astro.props;
font-weight: 600;
}
-</style>
+</style> \ No newline at end of file