Skip to content

Commit

Permalink
fix: πŸ› Prevent TOC shrinking
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJiahao committed Jan 25, 2025
1 parent 1afc282 commit 9b1d27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/organisms/TableOfContents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface TableOfContentsProps {
}

const TableOfContents = ({ headings }: TableOfContentsProps) => (
<nav card max-w-30ch p-lg text-secondary>
<nav card w-30ch p-lg text-secondary>
<ul>
{getTOC(headings).map((heading) => (
<TableOfContentsHeading key={heading.slug} heading={heading} />
Expand Down

0 comments on commit 9b1d27c

Please sign in to comment.