refactor: toc on right on xl
This commit is contained in:
parent
fbc67175ae
commit
94abd3e469
|
|
@ -61,7 +61,7 @@ const SidebarContent: Component<SidebarContentProps> = (props) => {
|
||||||
|
|
||||||
{/* 当前文件标题 */}
|
{/* 当前文件标题 */}
|
||||||
<Show when={currentFileHeadings().length > 0}>
|
<Show when={currentFileHeadings().length > 0}>
|
||||||
<div>
|
<div class="xl:fixed xl:top-20 xl:right-4">
|
||||||
<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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue