diff --git a/beta/src/components/Layout/Page.tsx b/beta/src/components/Layout/Page.tsx index d9c9be32..b0a5a34f 100644 --- a/beta/src/components/Layout/Page.tsx +++ b/beta/src/components/Layout/Page.tsx @@ -36,27 +36,22 @@ export function Page({children, toc}: PageProps) { <> -
-
+
+
- -
- {/* No fallback UI so need to be careful not to suspend directly inside. */} -
-
-
- {children} -
-
-
-
+
+
+
+ {children} +
+
+
- -
- {toc.length > 0 && } +
+ {toc.length > 0 && }
diff --git a/beta/tailwind.config.js b/beta/tailwind.config.js index d84cf642..bcedbe06 100644 --- a/beta/tailwind.config.js +++ b/beta/tailwind.config.js @@ -68,6 +68,11 @@ module.exports = { code: 'calc(1em - 20%)', }, colors, + gridTemplateColumns: { + 'only-content': 'auto', + 'sidebar-content': '20rem auto', + 'sidebar-content-toc': '20rem auto 20rem', + }, }, }, plugins: [],