diff options
Diffstat (limited to 'docs/src/components/RightSidebar/RightSidebar.astro')
-rw-r--r-- | docs/src/components/RightSidebar/RightSidebar.astro | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/src/components/RightSidebar/RightSidebar.astro b/docs/src/components/RightSidebar/RightSidebar.astro deleted file mode 100644 index f447f4408..000000000 --- a/docs/src/components/RightSidebar/RightSidebar.astro +++ /dev/null @@ -1,29 +0,0 @@ ---- -import TableOfContents from './TableOfContents.tsx'; -import MoreMenu from './MoreMenu.astro'; -const { content, githubEditUrl } = Astro.props; -const headers = content.astro?.headers; ---- - -<nav class="sidebar-nav" aria-labelledby="grid-right"> - <div class="sidebar-nav-inner"> - {headers && ( - <TableOfContents client:media="(min-width: 50em)" headers={headers} /> - )} - <MoreMenu editHref={githubEditUrl} /> - </div> -</nav> - -<style> - .sidebar-nav { - width: 100%; - position: sticky; - top: 0; - } - .sidebar-nav-inner { - height: 100%; - padding: 0; - padding-top: var(--doc-padding); - overflow: auto; - } -</style> |