Skip to content

Commit

Permalink
Update NavItem.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Feb 13, 2024
1 parent ea9d936 commit f26c515
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/components/Nav/NavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,29 +60,6 @@ export const NavItem = styled(LinkWithWrapper, { shouldForwardProp: (prop) => pr
background-color: rgba(30, 167, 253, 0.07);
}
`}
${(props) =>
props.active &&
props.variant === 'inverse' &&
css`
color: #fff;
background-color: rgba(255, 255, 255, 0.14);
`};
${(props) =>
props.variant === 'inverse' &&
css`
&:hover,
&:focus {
color: #fff;
background-color: rgba(255, 255, 255, 0.14);
}
&:active {
color: #fff;
background-color: rgba(255, 255, 255, 0.07);
}
`};
`;
NavItem.defaultProps = {
variant: 'default',
Expand Down

0 comments on commit f26c515

Please sign in to comment.