Skip to content

Commit

Permalink
🐛 Use inside Alert got wrong text-color while focused or active (#3489)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh authored Jan 7, 2025
1 parent ef3464c commit 25305eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/young-teachers-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-css": patch
---

Link: :bug: Use inside Alert got wrong text-color while focused or active.
2 changes: 1 addition & 1 deletion @navikt/core/css/link.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
text-decoration: underline;
}

.navds-alert:not(.navds-alert--inline) .navds-link,
.navds-alert:not(.navds-alert--inline) .navds-link:not(:active, :focus-visible),
.navds-confirmation-panel .navds-link {
color: var(--a-text-default);
}
Expand Down

0 comments on commit 25305eb

Please sign in to comment.