fix: fix the responsiveness of the documentation layout

This commit is contained in:
Dorian Niemiec 2024-11-07 18:16:40 +01:00
parent 9d0de2c863
commit 599763c3f2

View file

@ -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">
<SidebarLinks links={docLinks} />
</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>
);