Skip to content

Commit

Permalink
Since we don't know where the link is used (Caption, title, body ...)…
Browse files Browse the repository at this point in the history
…, we have to fall back to the browser default "normal" for the line-height instead of using a typography variable
  • Loading branch information
HDinger committed Oct 29, 2024
1 parent 403bb08 commit cc5c5f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/primer/beta/link.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc5c5f3

Please sign in to comment.