mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-01 15:10:14 +00:00
fix.heo, darkmode catalog
This commit is contained in:
@@ -28,8 +28,7 @@ export default function FloatTocButton(props) {
|
|||||||
<div className='fixed top-0 right-0 z-40 '>
|
<div className='fixed top-0 right-0 z-40 '>
|
||||||
{/* 侧边菜单 */}
|
{/* 侧边菜单 */}
|
||||||
<div
|
<div
|
||||||
className={`${tocVisible ? 'shadow-card ' : ' -mr-72 opacity-0'}
|
className={`${tocVisible ? 'shadow-card ' : ' -mr-72 opacity-0'} dark:bg-black w-60 duration-200 fixed right-4 bottom-12 rounded-xl py-2 bg-white dark:bg-gray-900'`}>
|
||||||
w-60 duration-200 fixed right-4 bottom-12 rounded-xl py-2 bg-white dark:bg-gray-900'`}>
|
|
||||||
{post && <>
|
{post && <>
|
||||||
<div className='dark:text-gray-400 text-gray-600'>
|
<div className='dark:text-gray-400 text-gray-600'>
|
||||||
<Catalog toc={post.toc} />
|
<Catalog toc={post.toc} />
|
||||||
|
|||||||
Reference in New Issue
Block a user