Skip to content

Commit

Permalink
fix(components): styling adjustment to cards web component (#2198)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 authored Jul 22, 2024
1 parent a2a4cc7 commit fdab895
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions libs/components/src/card/card-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ export class CardBase extends LitElement {
</div>
`
: ''}
<div class="mdc-card__primary-action">
<slot></slot>
${this.interactive ? html`<div class="mdc-card__ripple"></div>` : ''}
</div>
${this.interactive
? html`
<div class="mdc-card__primary-action">
<slot></slot>
<div class="mdc-card__ripple"></div>
</div>
`
: html`<slot></slot>`}
${this.actionBar
? html`
<div class="mdc-card__actions">
Expand Down

0 comments on commit fdab895

Please sign in to comment.