mirror of
https://github.com/lbr77/blog-astro.git
synced 2026-04-08 16:11:56 +00:00
fix toc overflow
This commit is contained in:
@@ -18,7 +18,7 @@ const parentId = isCurrentSubpost ? getParentId(currentPostId) : currentPostId
|
||||
sections.length > 0 && (
|
||||
<div
|
||||
id="toc-sidebar-container"
|
||||
class="sticky top-20 col-start-1 row-span-1 mr-8 ml-auto hidden h-[calc(100vh-5rem)] max-w-md xl:block"
|
||||
class="sticky top-20 col-start-1 row-span-1 mr-8 ml-auto hidden h-[calc(100vh-5rem)] max-w-[250px] xl:block"
|
||||
>
|
||||
<ScrollArea
|
||||
client:load
|
||||
|
||||
Reference in New Issue
Block a user