Skip to content

Commit e319dae

Browse files
committed
docs(layout): add max-screen-md to main
1 parent 3a23ae3 commit e319dae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/website/src/routes/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ export default component$(() => {
2727
linksGroups={
2828
menuItemsGroups && menuItemsGroups.length > 0 ? menuItemsGroups : undefined
2929
}
30-
class="sticky top-16 mx-4 hidden h-[calc(100vh-64px)] min-w-72 overflow-auto lg:flex 2xl:ml-0"
30+
class="sticky top-16 mr-4 hidden h-[calc(100vh-64px)] min-w-72 overflow-auto lg:flex 2xl:ml-0"
3131
/>
3232
<MDXProvider components={components}>
33-
<main class="w-full px-3 py-8">
33+
<main class="w-full max-w-screen-md px-4 py-8">
3434
<Slot />
3535
</main>
3636
</MDXProvider>
37-
<div class="hidden w-72 min-w-64 text-sm xl:block">
38-
<div class="sticky top-16 mx-8 -mt-10 pt-4">
37+
<div class="mx-6 hidden w-72 min-w-64 text-sm xl:block">
38+
<div class="sticky top-16 pt-4">
3939
<ScrollArea className="pb-10">
4040
<div class="sticky top-16 -mt-10 h-[calc(100vh-64px)] py-12">
4141
<DashboardTableOfContents headings={headings ? headings : []} />

0 commit comments

Comments
 (0)