Skip to content

Commit

Permalink
fix: layout shift
Browse files Browse the repository at this point in the history
  • Loading branch information
calvo-jp committed Nov 15, 2024
1 parent 14f3562 commit 2fb9bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/routes/toc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<div class="w-[18rem] shrink-0"></div>

<section
class="fixed right-0 top-16 z-sticky mt-20 w-[18rem] shrink-0 border-l border-neutral-800 bg-neutral-950 py-2"
class="fixed right-[var(--scrollbar-width,0)] top-16 z-sticky mt-20 w-[18rem] shrink-0 border-l border-neutral-800 bg-neutral-950 py-2"
>
<h2 class="mb-2 px-5 font-semibold">On this page</h2>

Expand Down

0 comments on commit 2fb9bac

Please sign in to comment.