fix: remove underline from collapsed section title links
Global a { border-bottom } was leaking onto the inactive section
nav links. Override with border-b-0 hover:border-b-0.
This commit is contained in:
@@ -49,7 +49,7 @@ export function SectionAccordion({ number, title, id, isActive, href, children }
|
|||||||
) : (
|
) : (
|
||||||
<Link
|
<Link
|
||||||
href={href}
|
href={href}
|
||||||
className="block w-full text-left mb-3 py-3 transition-all duration-200 hover:opacity-60 group"
|
className="block w-full text-left mb-3 py-3 transition-all duration-200 hover:opacity-60 group border-b-0 hover:border-b-0"
|
||||||
>
|
>
|
||||||
<h2
|
<h2
|
||||||
className="font-heading font-black text-2xl sm:text-3xl opacity-30 group-hover:opacity-50 transition-opacity"
|
className="font-heading font-black text-2xl sm:text-3xl opacity-30 group-hover:opacity-50 transition-opacity"
|
||||||
|
|||||||
Reference in New Issue
Block a user