feat: add place for toc in grid on large screen

This commit is contained in:
p-sw 2024-06-02 06:58:20 +09:00
parent 3e3250d5cb
commit 0e6e314055

View File

@ -33,7 +33,7 @@ function SideNav() {
function DocsLayout() { function DocsLayout() {
return ( return (
<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] lg:grid-cols-[12rem_1fr_10rem] w-full max-w-5xl mx-auto">
<SideNav /> <SideNav />
<Outlet /> <Outlet />
</div> </div>