目录锁bug,catalog-item

This commit is contained in:
tangly1024.com
2024-09-26 16:59:50 +08:00
parent bc5a6b8949
commit 6e6d8eef50
14 changed files with 326 additions and 278 deletions

View File

@@ -83,7 +83,7 @@ const Catalog = ({ post }) => {
href={`#${id}`}
// notion-table-of-contents-item
className={`${activeSection === id && 'border-green-500 text-green-500 font-bold'} border-l pl-4 block hover:text-green-500 border-lduration-300 transform font-light dark:text-gray-300
notion-table-of-contents-item-indent-level-${tocItem.indentLevel} `}>
notion-table-of-contents-item-indent-level-${tocItem.indentLevel} catalog-item `}>
<span
style={{
display: 'inline-block',