Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: browser default underline styles #1541

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading