Skip to content

Commit

Permalink
removed images and added pixel png
Browse files Browse the repository at this point in the history
  • Loading branch information
Axelcureno committed Sep 19, 2024
1 parent 3a656a7 commit 8273f59
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a:not(.con-button) {
text-decoration-line: underline;
color: var(--merch-color-grey-80);
}
merch-card[variant="ccd-slice"] [slot='image'] img {
overflow: hidden;
border-radius: 50%;
}
`;
5 changes: 5 additions & 0 deletions libs/features/mas/web-components/src/variants/ccd-slice.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,10 @@ export class CCDSlice extends VariantLayout {
padding: var(--consonant-merch-spacing-xs);
align-self: center;
}
:host([variant='ccd-slice']) ::slotted([slot='image']) img {
overflow: hidden;
border-radius: 50%;
}
`;
}
Binary file not shown.
Binary file removed libs/features/mas/web-components/test/img/max.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<sp-button size="s" focusable>Buy now</sp-button>
</div>
<div slot="image">
<img src="./img/creative-cloud.png" alt="">
<img src="./img/pixel.png" alt="">
</div>
</merch-card
>
Expand All @@ -75,7 +75,7 @@
<sp-button size="s" focusable>Register now</sp-button>
</div>
<div slot="image">
<img src="./img/max.png" alt="">
<img src="./img/pixel.png" alt="">
</div>
</merch-card>
</sp-theme>
Expand Down

0 comments on commit 8273f59

Please sign in to comment.