diff --git a/components/OrganizedContent.module.css b/components/OrganizedContent.module.css index 5a28bf3a..cb416236 100644 --- a/components/OrganizedContent.module.css +++ b/components/OrganizedContent.module.css @@ -25,6 +25,11 @@ padding: 0.5rem 2rem 0.5rem 0.5rem; } +.navLinkSelected { + /* smaller to account for marker width */ + padding: 0.5rem 1.15rem 0.5rem 0.5rem; +} + .readAll { font-weight: bold; } diff --git a/components/OrganizedContent.tsx b/components/OrganizedContent.tsx index f263aebc..6de18cdc 100644 --- a/components/OrganizedContent.tsx +++ b/components/OrganizedContent.tsx @@ -87,7 +87,14 @@ const Nav = ({ headings, currentIndex, link: Link }: ChildProps) => { {index === currentIndex && ( )} - + {heading.title}