Skip to content

Commit 74add36

Browse files
committed
溢出文本增加tooltip
1 parent 7256226 commit 74add36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

themes/fukasawa/components/Catalog.js

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const Catalog = ({ toc }) => {
7272
>
7373
<span style={{ display: 'inline-block', marginLeft: tocItem.indentLevel * 16 }}
7474
className={`${activeSection === id && ' font-bold text-red-400 underline'}`}
75+
title={tocItem.text}
7576
>
7677
{tocItem.text}
7778
</span>

0 commit comments

Comments
 (0)