Skip to content

Commit

Permalink
docs: scroll behavior pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Sep 16, 2022
1 parent 7eff8f0 commit 8429ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/layouts/blog.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const githubEditUrl = `${CONFIG.GITHUB_EDIT_URL}/${currentFile}`;
<aside
id="grid-left"
title="Site Navigation"
class="hidden sticky h-fit top-8 z-10 sm:w-screen md:w-full md:flex md:col-span-4 lg:col-span-3 xl:col-span-2 w-full transition-colors"
class="hidden sticky h-fit top-20 z-10 sm:w-screen md:w-full md:flex md:col-span-4 lg:col-span-3 xl:col-span-2 w-full transition-colors"
>
<LeftSidebar currentPage={currentPage} />
</aside>
Expand All @@ -63,7 +63,7 @@ const githubEditUrl = `${CONFIG.GITHUB_EDIT_URL}/${currentFile}`;
<aside
id="grid-right"
title="Table of Contents"
class="hidden sticky h-fit top-8 md:block md:col-span-2 lg:col-span-3 xl:col-span-2 justify-self-start"
class="hidden sticky h-fit top-20 md:block md:col-span-2 lg:col-span-3 xl:col-span-2 justify-self-start"
>
<RightSidebar headings={headings} githubEditUrl={githubEditUrl} />
</aside>
Expand Down

0 comments on commit 8429ccd

Please sign in to comment.