Skip to content

Commit

Permalink
Sul23-283 -- Link inline hover state (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdyoung3 authored Feb 15, 2024
1 parent 3f3c21b commit d63006b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/patterns/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ export const DrupalActionLink = ({href, children, ...props}: PropsWithChildren<{
<Link
href={href}
{...props}
className={twMerge("relative pr-30 hocus:text-brick no-underline rs-mt-neg1 pt-10", props.className)}
className={twMerge("relative pr-30 no-underline rs-mt-neg1 hocus:bg-black-10 hocus:underline hocus:su-dark-brick active:text-cardinal-red", props.className)}
>
{children}
<ChevronRightIcon className="inline absolute top-0 right-0 h-full pt-10"/>
<ChevronRightIcon className="inline absolute top-0 right-0 h-full"/>
</Link>
)
}
Expand All @@ -70,4 +70,4 @@ export const DrupalLink = ({url, title, style, children, ...props}: DrupalLinkPr
{children}
</LinkComponent>
)
}
}

0 comments on commit d63006b

Please sign in to comment.