From bcd96242e2b177657d28ffed8df6aa9ac0b02fd7 Mon Sep 17 00:00:00 2001 From: James Mockett <1166188+jamesmockett@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:35:59 +0100 Subject: [PATCH] User browser default underline styles --- libs/@guardian/source/src/react-components/link/styles.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libs/@guardian/source/src/react-components/link/styles.ts b/libs/@guardian/source/src/react-components/link/styles.ts index 5966cbb47..30995f230 100644 --- a/libs/@guardian/source/src/react-components/link/styles.ts +++ b/libs/@guardian/source/src/react-components/link/styles.ts @@ -13,8 +13,6 @@ export const link = css` ${textSans17}; cursor: pointer; text-decoration: underline; - text-underline-position: under; - text-underline-offset: 5%; display: inline; align-items: center; @@ -22,11 +20,6 @@ export const link = css` &: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`