diff --git a/src/components/layout/TableOfContents.tsx b/src/components/layout/TableOfContents.tsx index 43bc4af..35eb54f 100644 --- a/src/components/layout/TableOfContents.tsx +++ b/src/components/layout/TableOfContents.tsx @@ -69,7 +69,7 @@ export function TableOfContents({ items }: TableOfContentsProps) { href={`#${item.id}`} style={{ display: "block", - paddingLeft: item.level === 3 ? "1rem" : "0", + paddingLeft: item.level === 3 ? "1rem" : "0.5rem", paddingTop: "0.25rem", paddingBottom: "0.25rem", fontSize: item.level === 3 ? "0.75rem" : "0.8125rem", @@ -77,7 +77,6 @@ export function TableOfContents({ items }: TableOfContentsProps) { textDecoration: "none", fontWeight: active ? 500 : 400, borderLeft: active ? "2px solid var(--color-accent)" : "2px solid transparent", - // paddingLeft: active ? "calc(0.5rem + 2px)" : "0.5rem", marginLeft: "-2px", transition: "color 0.15s", lineHeight: 1.4,