mirror of
https://github.com/lbr77/blog-astro.git
synced 2026-04-09 00:19:12 +00:00
fix toc overflow
This commit is contained in:
@@ -18,7 +18,7 @@ const parentId = isCurrentSubpost ? getParentId(currentPostId) : currentPostId
|
|||||||
sections.length > 0 && (
|
sections.length > 0 && (
|
||||||
<div
|
<div
|
||||||
id="toc-sidebar-container"
|
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
|
<ScrollArea
|
||||||
client:load
|
client:load
|
||||||
|
|||||||
Reference in New Issue
Block a user