fix: toc details

This commit is contained in:
hypercross 2026-03-22 01:47:26 +08:00
parent 94abd3e469
commit 206e799f34
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ const SidebarContent: Component<SidebarContentProps> = (props) => {
{/* 当前文件标题 */} {/* 当前文件标题 */}
<Show when={currentFileHeadings().length > 0}> <Show when={currentFileHeadings().length > 0}>
<div class="xl:fixed xl:top-20 xl:right-4"> <div class="xl:fixed xl:top-20 xl:right-4 xl:bottom-4 xl:overflow-y-auto xl:max-w-30 2xl:max-w-60">
<h3 class="text-xs font-semibold text-gray-500 uppercase mb-2 px-2"> <h3 class="text-xs font-semibold text-gray-500 uppercase mb-2 px-2">
</h3> </h3>