Skip to content

Commit

Permalink
MWPW-135160: merch-card (plans, key-apps)
Browse files Browse the repository at this point in the history
Adds ability to display inline mnemonic list block inside merch card.
This PR handles changes for the super-wide plans card.

Resolves: MWPW-135160

Test URLs:

Before: https://main--milo--axelcureno.hlx.page/drafts/axel/mwpw-135160?martech=off
After: https://mwpw-135160--milo--axelcureno.hlx.page/drafts/axel/mwpw-135160?martech=off
  • Loading branch information
Axelcureno committed Jun 20, 2024
1 parent ecf0570 commit 1a746e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions web-components/src/global.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ styles.innerHTML = `
/* responsive width */
--consonant-merch-card-mobile-width: 300px;
--consonant-merch-card-tablet-wide-width: 700px;
/* spacing */
--consonant-merch-spacing-xxxs: 4px;
Expand Down
4 changes: 3 additions & 1 deletion web-components/src/merch-card.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,10 @@ export const sizeStyles = () => {
@media screen and ${unsafeCSS(TABLET_UP)} {
: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;
}
}
Expand Down

0 comments on commit 1a746e0

Please sign in to comment.