We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3911242 commit 588eb2bCopy full SHA for 588eb2b
apps/site/app/docs/layout.tsx
@@ -4,7 +4,13 @@ import { DocsLayout } from 'fumadocs-ui/layouts/docs';
4
5
export default function Layout({ children }: { children: ReactNode }) {
6
return (
7
- <DocsLayout tree={source.pageTree} nav={{ title: 'Object UI' }}>
+ <DocsLayout
8
+ tree={source.pageTree}
9
+ nav={{ title: 'Object UI' }}
10
+ sidebar={{
11
+ defaultOpenLevel: 1,
12
+ }}
13
+ >
14
{children}
15
</DocsLayout>
16
);
apps/site/app/global.css
@@ -1,3 +1,10 @@
1
@tailwind base;
2
@tailwind components;
3
@tailwind utilities;
+
+/* Fix for docs sidebar height - ensure it extends to full viewport */
+aside[role="complementary"],
+[role="complementary"] {
+ inset-block-end: 0 !important;
+ height: 100vh !important;
+}
0 commit comments