diff --git a/src/components/site/PostToc.tsx b/src/components/site/PostToc.tsx index bdc423aa..78665eb6 100644 --- a/src/components/site/PostToc.tsx +++ b/src/components/site/PostToc.tsx @@ -101,8 +101,8 @@ function Items(props: ItemsProps) { title={content} className={ (`#${activeId}` === child.children[0].url - ? "text-accent" - : "text-zinc-700") + + ? "text-accent font-bold" + : "text-zinc-400 font-medium") + " truncate inline-block max-w-full align-bottom hover:text-accent cursor-pointer" } > @@ -138,7 +138,7 @@ export const PostToc: React.FC<{ return (