Skip to content

Commit

Permalink
mini compare merch card fixed as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Sahu committed Jun 25, 2024
1 parent eebe4ff commit 95c050e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
8 changes: 4 additions & 4 deletions web-components/src/global.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,14 @@ merch-card [slot='callout-text'] img {
align-self: flex-start;
}
merch-card [variant="mini-compare-chart"] [slot='callout-text'] p {
merch-card[variant="mini-compare-chart"] [slot='callout-text'] {
padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s);
}
merch-card[variant="mini-compare-chart"] [slot='callout-text'] p {
background: var(--consonant-merch-card-callout-background-color) 0% 0% no-repeat padding-box;
border-radius: 4px;
opacity: 0.5;
margin: 5px 2px;
padding: 0px 5px;
display: inline-flex;
padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s);
}
merch-card [variant="mini-compare-chart"] [slot='callout-text'] img {
Expand Down
28 changes: 15 additions & 13 deletions web-components/test/merch-card.mini-compare.test.html
Original file line number Diff line number Diff line change
Expand Up @@ -422,16 +422,18 @@ <h5 id="price---abm---creative-cloud-all-apps-with-4tb" slot="heading-m-price"><
<p slot="price-commitment" class="price-commitment"></p>
<h3 id="creative-cloud-all-apps" slot="heading-m">Creative Cloud All Apps
</h3>
<p slot="callout-text">AI Assistant add-on available <img src="./img/info-icon.svg"/></p>
<p slot="callout-text">
<span>
For a limited time pay <span is="inline-price" data-display-per-unit="false"
data-display-recurrence="true" data-display-tax="false" data-wcs-osi="puf"></span> when you add AI assistant to Acrobat Reader, Standard, or Pro. Ends 6/4.
</span
><img src="./img/info-icon.svg"/>
</p>
<h4 id="this-is-promo-text-with-a-link" slot="detail-m">This is promo text <a href="https://adobe.com/"
target="_blank">with a link</a></h4>
<div slot="callout-text">
<p>AI Assistant add-on available <img src="./img/info-icon.svg"/></p>
<p>
<span>
For a limited time pay <span is="inline-price" data-display-per-unit="false"
data-display-recurrence="true" data-display-tax="false" data-wcs-osi="puf"></span> when you add AI assistant to Acrobat Reader, Standard, or Pro. Ends 6/4.
</span
><img src="./img/info-icon.svg"/>
</p>
</div>
<h5 id="price---abm---creative-cloud-all-apps-with-4tb" slot="heading-m-price"><span is="inline-price"
data-display-old-price="true" data-display-per-unit="false" data-display-recurrence="true"
data-display-tax="false" data-force-tax-exclusive="false" data-quantity="1"
Expand Down Expand Up @@ -494,18 +496,18 @@ <h5 id="price---abm---creative-cloud-all-apps-with-4tb" slot="heading-m-price"><
<p slot="price-commitment" class="price-commitment"></p>
<h3 id="creative-cloud-all-apps" slot="heading-m">Creative Cloud All Apps
</h3>
<div slot="body-xs">
<p slot="callout-text">AI Assistant add-on available <img src="./img/info-icon.svg"/></p>
<p slot="callout-text">
<h4 id="this-is-promo-text-with-a-link" slot="detail-m">This is promo text <a href="https://adobe.com/"
target="_blank">with a link</a></h4>
<div slot="callout-text">
<p>AI Assistant add-on available <img src="./img/info-icon.svg"/></p>
<p>
<span>
For a limited time pay <span is="inline-price" data-display-per-unit="false"
data-display-recurrence="true" data-display-tax="false" data-wcs-osi="puf"></span> when you add AI assistant to Acrobat Reader, Standard, or Pro. Ends 6/4.
</span
><img src="./img/info-icon.svg"/>
</p>
</div>
<h4 id="this-is-promo-text-with-a-link" slot="detail-m">This is promo text <a href="https://adobe.com/"
target="_blank">with a link</a></h4>
<h5 id="price---abm---creative-cloud-all-apps-with-4tb" slot="heading-m-price"><span is="inline-price"
data-display-old-price="true" data-display-per-unit="false" data-display-recurrence="true"
data-display-tax="false" data-force-tax-exclusive="false" data-quantity="1"
Expand Down

0 comments on commit 95c050e

Please sign in to comment.