Skip to content

Commit

Permalink
fix(ui-kit): override default anchor card wrapper display style (#2719)
Browse files Browse the repository at this point in the history
* chore(ui-kit): override default anchor card wrapper display style

* chore(ui-kit): changeset
  • Loading branch information
jaikamat authored Feb 12, 2024
1 parent 52db947 commit d5ae8ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-humans-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-uikit/card': patch
---

Fixes a display error when using clickable Card functionality
2 changes: 2 additions & 0 deletions packages/components/card/src/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ const Card = (props: TCardProps) => {
? designTokens.colorNeutral98
: undefined};
}
// Overrides the default link styles
display: block;
// Disables link text styling
color: inherit;
// Changes the opacity of the content, not the card itself
Expand Down

0 comments on commit d5ae8ef

Please sign in to comment.