fix: make DocsLayout responsive to client width

This commit is contained in:
p-sw 2024-06-01 19:24:53 +09:00
parent 45be6f0413
commit 2eddfa12f0

View File

@ -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">
<SideNav />
<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 />
</main>
</div>