mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 23:16:54 +00:00
fix: catalog style
This commit is contained in:
@@ -79,7 +79,7 @@ const Catalog = ({ toc }) => {
|
||||
notion-table-of-contents-item-indent-level-${tocItem.indentLevel} `}
|
||||
>
|
||||
<span style={{ display: 'inline-block', marginLeft: tocItem.indentLevel * 16 }}
|
||||
className={`${activeSection === id && ' font-bold text-red-600'}`}
|
||||
className={`truncate ${activeSection === id ? 'font-bold text-red-600': ''}`}
|
||||
>
|
||||
{tocItem.text}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user