Skip to content

Commit

Permalink
Remove highlight from clicked external link
Browse files Browse the repository at this point in the history
The record video link kept being highlighted after it was clicked,
meaning more than one nav item was highlighted since the active route
always is. This fixes the issue.
  • Loading branch information
owi92 committed Aug 25, 2023
1 parent 388cbf2 commit 69ee024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const linkWithIconStyle = (isDark: boolean, iconPos: "left" | "right", ac
}),
},

"&:hover, &:focus": hoverActiveStyle,
"&:hover, &:focus-visible": hoverActiveStyle,
...active && {
color: COLORS.primary2,
"&": hoverActiveStyle,
Expand Down

0 comments on commit 69ee024

Please sign in to comment.