fix: make DocsLayout responsive to client width
This commit is contained in:
parent
45be6f0413
commit
2eddfa12f0
@ -36,7 +36,7 @@ function DocsLayout() {
|
|||||||
<div className="flex-grow grid grid-cols-1 md:grid-cols-[12rem_1fr] w-full max-w-5xl mx-auto">
|
<div className="flex-grow grid grid-cols-1 md:grid-cols-[12rem_1fr] w-full max-w-5xl mx-auto">
|
||||||
<SideNav />
|
<SideNav />
|
||||||
<div className="w-full flex flex-col items-center">
|
<div className="w-full flex flex-col items-center">
|
||||||
<main className="w-full prose-sm prose p-8 dark:prose-invert">
|
<main className="w-full prose-sm prose lg:prose-lg p-8 dark:prose-invert">
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user