Skip to content

Commit

Permalink
User browser default underline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmockett committed Jun 13, 2024
1 parent b0d59ba commit bcd9624
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libs/@guardian/source/src/react-components/link/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,13 @@ export const link = css`
${textSans17};
cursor: pointer;
text-decoration: underline;
text-underline-position: under;
text-underline-offset: 5%;
display: inline;
align-items: center;
&:focus {
${focusHalo};
}
&:hover {
/* If the hover text decoration thickness is not set, we default to the initial value. */
text-decoration-thickness: var(--source-text-decoration-thickness, auto);
}
`;

export const buttonLink = css`
Expand Down

0 comments on commit bcd9624

Please sign in to comment.