+
-
-
-
{/* No fallback UI so need to be careful not to suspend directly inside. */}
-
+
+
+
+ {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: [],