Skip to content

Commit

Permalink
fix(brand-card): remove svg pattern (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttalbot authored Jun 28, 2022
1 parent 7697fea commit 0ad8f7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
29 changes: 1 addition & 28 deletions libs/web-components/brand-card/src/brand-card-decorations.ts

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions libs/web-components/brand-card/src/brand-card.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BaseCard } from '@finastra/base-card';
import { html, TemplateResult } from 'lit';
import { customElement, property } from 'lit/decorators.js';
import { renderPatternSVG, renderPrimarySVG, renderSecondarySVG } from './brand-card-decorations';
import { renderPrimarySVG, renderSecondarySVG } from './brand-card-decorations';
import { styles } from './styles.css';


Expand Down Expand Up @@ -36,7 +36,6 @@ export class BrandCard extends BaseCard {
console.warn('[Brand Card]: Cannot use multiple size attributes at the same time, default size has been applied');
}
return html`<div class="brand-card" title="${this.label}">
${renderPatternSVG()}
<span class="brand-card-label">${this.shortLabel || this.formatItemName(this.label)}</span>
${this.secondary ? renderSecondarySVG() : renderPrimarySVG()}
</div>`;
Expand Down

0 comments on commit 0ad8f7b

Please sign in to comment.