Skip to content

Commit bca35cb

Browse files
committed
fix(card): fixing footer CTA for CM
1 parent a31dc19 commit bca35cb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/web-components/src/components/card/card-footer.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ class C4DCardFooter extends C4DLinkWithIcon {
5555
if (ctaType === 'chat' || ctaType === 'contact') {
5656
this.removeAttribute('parent-href');
5757
}
58+
59+
const anchorElement = this.shadowRoot?.querySelector(
60+
`a.${prefix}--card__footer`
61+
);
62+
63+
anchorElement?.classList.remove(`${prefix}--card__footer`);
5864
}
5965

6066
/**

0 commit comments

Comments
 (0)