Skip to content

Commit

Permalink
feat(menu): fix skip link
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucasbeneston committed Oct 4, 2024
1 parent 48700cc commit 4c76b78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_website/src/ui/components/skipLink/SkipLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type SkipLinkProps = {
}

export function SkipLink({ label, href }: SkipLinkProps) {
return <StyledLink href={href}>{label}</StyledLink>
return <StyledLink href={href} target='_parent'>{label}</StyledLink>
}

const StyledLink = styled(Link)`
Expand All @@ -25,7 +25,7 @@ const StyledLink = styled(Link)`
&:focus {
top: 1rem;
left: 1rem;
z-index: 2;
z-index: 9999;
}
`}
`

0 comments on commit 4c76b78

Please sign in to comment.