Skip to content

Commit

Permalink
fix: hide toc placeholder in small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Dec 7, 2024
1 parent aa1acdb commit 0762d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const toc = buildToc(headings);
<Series posts={allPosts} series={series} selectedSlug={slug}/>}
<Comments client:only="solid-js"/>
</article>
<aside class="hidden self-stretch lg:block pt-[20rem] max-w-xs w-80">
<aside class="hidden self-stretch lg:block pt-[20rem] max-w-xs lg:w-80">
<div class="py-8 pl-4 sticky top-0">
<TableOfContents tocHeadings={toc} client:only="solid-js"/>
</div>
Expand Down

0 comments on commit 0762d8b

Please sign in to comment.