refactor: remove whole documentation side to outlet

This commit is contained in:
p-sw 2024-06-02 06:57:45 +09:00
parent c70a211954
commit e302e77f5b

View File

@ -35,11 +35,7 @@ function DocsLayout() {
return (
<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 [:not(:where([class~='not-prose'],[class~='not-prose']_*))]:prose-sm prose lg:[:not(:where([class~='not-prose'],_[class~='not-prose']_*))]:prose-lg p-8 dark:prose-invert">
<Outlet />
</main>
</div>
</div>
);
}