Skip to content

Commit 11704e3

Browse files
Copilothuangyiirene
andcommitted
Fix root cause: Remove duplicate RootProvider from docs layout
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 588eb2b commit 11704e3

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

apps/site/app/docs/layout.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ import { DocsLayout } from 'fumadocs-ui/layouts/docs';
44

55
export default function Layout({ children }: { children: ReactNode }) {
66
return (
7-
<DocsLayout
8-
tree={source.pageTree}
9-
nav={{ title: 'Object UI' }}
10-
sidebar={{
11-
defaultOpenLevel: 1,
12-
}}
13-
>
7+
<DocsLayout tree={source.pageTree} nav={{ title: 'Object UI' }}>
148
{children}
159
</DocsLayout>
1610
);

apps/site/app/global.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
@tailwind base;
22
@tailwind components;
33
@tailwind utilities;
4-
5-
/* Fix for docs sidebar height - ensure it extends to full viewport */
6-
aside[role="complementary"],
7-
[role="complementary"] {
8-
inset-block-end: 0 !important;
9-
height: 100vh !important;
10-
}

0 commit comments

Comments
 (0)