Skip to content

Commit

Permalink
fix: correct button text color in clickable cards
Browse files Browse the repository at this point in the history
  • Loading branch information
marvel-uiuc committed Aug 2, 2024
1 parent 8f46e12 commit 19e45f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ilw-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,12 @@ ilw-card[clickable] {
ul.ilw-buttons a,
ul.ilw-buttons button {
transition-duration: 0s;

/* Fix button text colors in clickable cards */
color: var(--ilw-button--foreground-color);
&:focus, &:hover {
color: var(--ilw-button--focused-foreground-color);
}
}
}

Expand Down

0 comments on commit 19e45f3

Please sign in to comment.