diff --git a/libs/deps/merch-card.js b/libs/deps/merch-card.js index 397c18271c..34545131dd 100644 --- a/libs/deps/merch-card.js +++ b/libs/deps/merch-card.js @@ -1,4 +1,4 @@ -// branch: main commit: fbbefe1b71216b73b1e41d50997927fbc7340473 Tue, 25 Jun 2024 15:33:55 GMT +// branch: main commit: 258ad3d851cc4945eae2aab2dcc80a8d0c14d861 Fri, 28 Jun 2024 14:19:21 GMT import{html as a,LitElement as j}from"/libs/deps/lit-all.min.js";import{LitElement as q,html as T,css as F}from"/libs/deps/lit-all.min.js";var s=class extends q{static properties={size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}};constructor(){super(),this.size="m",this.alt=""}render(){let{href:e}=this;return e?T` ${this.alt} `:T` ${this.alt}`}static styles=F` @@ -395,8 +395,10 @@ import{html as a,LitElement as j}from"/libs/deps/lit-all.min.js";import{LitEleme @media screen and ${u(i)} { :host([size='wide']), :host([size='super-wide']) { - grid-column: span 2; + grid-column: span 3; width: 100%; + max-width: var(--consonant-merch-card-tablet-wide-width); + margin: 0 auto; } } @@ -428,6 +430,7 @@ import{html as a,LitElement as j}from"/libs/deps/lit-all.min.js";import{LitEleme /* responsive width */ --consonant-merch-card-mobile-width: 300px; + --consonant-merch-card-tablet-wide-width: 700px; /* spacing */ --consonant-merch-spacing-xxxs: 4px; @@ -798,11 +801,6 @@ merch-card[variant="mini-compare-chart"] [is="inline-price"] { min-width: 1px; } -merch-card[variant="mini-compare-chart"] span.placeholder-resolved[data-template="strikethrough"] { - font-size: var(--consonant-merch-card-body-m-font-size); - font-weight: 500; -} - merch-card[variant="mini-compare-chart"] [slot="price-commitment"] { font-size: var(--consonant-merch-card-body-xs-font-size); padding: 0 var(--consonant-merch-spacing-s); @@ -908,8 +906,8 @@ merch-card[variant="mini-compare-chart"] .footer-row-cell-description a { padding-bottom: 0; } - merch-card[variant="mini-compare-chart"] span.placeholder-resolved[data-template="strikethrough"] { - font-size: var(--consonant-merch-card-body-xs-font-size); + html[lang="he"] merch-card[variant="mini-compare-chart"] [is="inline-price"] .price-recurrence::before { + content: "\\200B"; } merch-card[variant="mini-compare-chart"] [slot="price-commitment"] { @@ -1383,6 +1381,12 @@ span[is="inline-price"][data-template='strikethrough'] { text-decoration: line-through; } +merch-card span.placeholder-resolved[data-template='strikethrough'], +merch-card span.price.price-strikethrough { + font-size: var(--consonant-merch-card-body-xs-font-size); + font-weight: normal; +} + /* merch-offer-select */ merch-offer-select[variant="subscription-options"] merch-offer span[is="inline-price"][data-display-tax='true'] .price-tax-inclusivity { font-size: 12px;