Skip to content

Commit

Permalink
Fix clickable area of Breadcrumb link
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed May 7, 2024
1 parent 3b145b3 commit f792728
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions src/components/Breadcrumbs/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,23 @@ const BreadcrumbSegment = (props: BreadcrumbSegmentProps) => {
{path.label}
</Text>
) : (
renderLink(
path,
<Text
variant="small"
fontWeight="medium"
color="text50"
whiteSpace="nowrap"
capitalize
>
{path.label}
<>
{renderLink(
path,
<Text
variant="small"
fontWeight="medium"
color="text50"
whiteSpace="nowrap"
capitalize
opacity={{ hover: '80' }}
>
{path.label}
</Text>
)}
<Text variant="small" fontWeight="medium" color="text50">
{' / '}
</Text>
)
</>
)
}

0 comments on commit f792728

Please sign in to comment.