Skip to content

Commit

Permalink
fix(Link): missing underline when using Tailwind (#2923)
Browse files Browse the repository at this point in the history
Fix: Link `underline` when using Tailwind
  • Loading branch information
eirikbacker authored Dec 20, 2024
1 parent c320eb3 commit 41bb41d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-gorillas-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Link: Fix missing underline when using Tailwind
1 change: 1 addition & 0 deletions packages/css/src/link.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

color: var(--dsc-link-color);
outline: none;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-thickness: var(--dsc-link-text-decoration-thickness);
text-underline-offset: 0.27em; /* 5px ish */
Expand Down

0 comments on commit 41bb41d

Please sign in to comment.