Skip to content

Commit

Permalink
fix(Link): return underline when hovering over icon (#3313)
Browse files Browse the repository at this point in the history
  • Loading branch information
HelenaIsh committed Nov 14, 2023
1 parent 8fe3e33 commit aa4c9f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-ui/components/Link/Link.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const styles = memoizeStyle({
border-radius: 1px;
outline: none;
text-decoration: none;
&:hover .${globalClasses.text} {
border-bottom-color: currentColor !important;
}
`;
},

Expand All @@ -57,9 +60,6 @@ export const styles = memoizeStyle({
border-bottom-style: ${t.linkLineBorderBottomStyle};
border-bottom-width: ${t.linkLineBorderBottomWidth};
border-bottom-color: transparent;
&:hover {
border-bottom-color: currentColor;
}
}
`;
},
Expand Down

0 comments on commit aa4c9f0

Please sign in to comment.