fix: fix the responsiveness of the documentation layout
This commit is contained in:
parent
9d0de2c863
commit
599763c3f2
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ export default function DocsLayout({ children }) {
|
||||||
<aside className="hidden md:block md:fixed w-72 px-3 bottom-0 top-12 overflow-y-auto">
|
<aside className="hidden md:block md:fixed w-72 px-3 bottom-0 top-12 overflow-y-auto">
|
||||||
<SidebarLinks links={docLinks} />
|
<SidebarLinks links={docLinks} />
|
||||||
</aside>
|
</aside>
|
||||||
<main className="flex-1 box-content ml-72 px-2 py-6">{children}</main>
|
<main className="flex-1 box-content md:ml-72 px-2 py-6">
|
||||||
|
{children}
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue