Skip to content

Commit

Permalink
Fix link visibility on selected rows
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWatenbergScality committed May 5, 2023
1 parent 44d508f commit 53bbf76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/text/Text.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,10 @@ export const Link = styled.a`
width: fit-content;
&:hover {
text-decoration-line: underline;
color: ${(props) => getTheme(props).selectedActive};
}
// :focus-visible is the keyboard-only version of :focus
&:focus-visible {
outline: dashed ${spacing.r2} ${(props) => getTheme(props).selectedActive};
outline: dashed ${spacing.r2} ${(props) => getTheme(props).textLink};
outline-offset: ${spacing.r2};
}
`;

0 comments on commit 53bbf76

Please sign in to comment.