From cc5c5f31bcb552231100dc0edc8503c3c9d1bd09 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Tue, 29 Oct 2024 08:46:58 +0100 Subject: [PATCH] Since we don't know where the link is used (Caption, title, body ...), we have to fall back to the browser default "normal" for the line-height instead of using a typography variable --- app/components/primer/beta/link.pcss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/primer/beta/link.pcss b/app/components/primer/beta/link.pcss index 55d415caf5..9a832d715f 100644 --- a/app/components/primer/beta/link.pcss +++ b/app/components/primer/beta/link.pcss @@ -71,6 +71,7 @@ .Link-content { display: inline-flex; align-items: center; + /* stylelint-disable-next-line primer/typography */ line-height: normal; gap: var(--base-size-4); text-decoration: inherit;