diff --git a/.changeset/fair-gorillas-pay.md b/.changeset/fair-gorillas-pay.md new file mode 100644 index 0000000000..d8adf37859 --- /dev/null +++ b/.changeset/fair-gorillas-pay.md @@ -0,0 +1,5 @@ +--- +"@digdir/designsystemet-css": patch +--- + +Link: Fix missing underline when using Tailwind diff --git a/packages/css/src/link.css b/packages/css/src/link.css index e1fd1b7e22..5de55838f4 100644 --- a/packages/css/src/link.css +++ b/packages/css/src/link.css @@ -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 */