Skip to content

Commit 9aba355

Browse files
committed
docs: fix CLS due to no fixed width on TOC
1 parent b3683c3 commit 9aba355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website/src/routes/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default component$(() => {
3939
<main class="w-full max-w-3xl px-4 py-8 sm:px-8">
4040
<Slot />
4141
</main>
42-
<div class="hidden min-w-64 text-sm xl:block">
42+
<div class="hidden w-64 text-sm xl:block">
4343
<div class="sticky top-16 -mt-10 mr-8 pt-4">
4444
<ScrollArea className="pb-10">
4545
<div class="sticky top-16 -mt-10 h-[calc(100vh-64px)] py-12">

0 commit comments

Comments
 (0)