Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions web-components/dist/mas.js
Original file line number Diff line number Diff line change
Expand Up @@ -6331,6 +6331,14 @@ merch-card-collection.plans:is(.one-merch-card, .two-merch-cards, .three-merch-c
margin-inline: auto;
}

/* The one-merch-card grid zeroes the section .content padding to center the lone
card, which also wipes the C2 section-spacing metadata (e.g. spacing-2xs-top).
Restore the authored top spacing so single pro cards keep section rhythm.
MWPW-204106. */
.one-merch-card.spacing-2xs-top {
padding-top: var(--s2a-viewport-vertical-padding-2xs);
}

@media screen and ${F} {
merch-card-collection.plans:is(.two-merch-cards, .three-merch-cards, .four-merch-cards):has(merch-card[variant="pro"]) {
grid-template-columns: repeat(2, minmax(0, 1fr));
Expand Down
8 changes: 8 additions & 0 deletions web-components/dist/merch-card-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -5180,6 +5180,14 @@ merch-card-collection.plans:is(.one-merch-card, .two-merch-cards, .three-merch-c
margin-inline: auto;
}

/* The one-merch-card grid zeroes the section .content padding to center the lone
card, which also wipes the C2 section-spacing metadata (e.g. spacing-2xs-top).
Restore the authored top spacing so single pro cards keep section rhythm.
MWPW-204106. */
.one-merch-card.spacing-2xs-top {
padding-top: var(--s2a-viewport-vertical-padding-2xs);
}

@media screen and ${R} {
merch-card-collection.plans:is(.two-merch-cards, .three-merch-cards, .four-merch-cards):has(merch-card[variant="pro"]) {
grid-template-columns: repeat(2, minmax(0, 1fr));
Expand Down
8 changes: 8 additions & 0 deletions web-components/dist/merch-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -5800,6 +5800,14 @@ merch-card-collection.plans:is(.one-merch-card, .two-merch-cards, .three-merch-c
margin-inline: auto;
}

/* The one-merch-card grid zeroes the section .content padding to center the lone
card, which also wipes the C2 section-spacing metadata (e.g. spacing-2xs-top).
Restore the authored top spacing so single pro cards keep section rhythm.
MWPW-204106. */
.one-merch-card.spacing-2xs-top {
padding-top: var(--s2a-viewport-vertical-padding-2xs);
}

@media screen and ${y} {
merch-card-collection.plans:is(.two-merch-cards, .three-merch-cards, .four-merch-cards):has(merch-card[variant="pro"]) {
grid-template-columns: repeat(2, minmax(0, 1fr));
Expand Down
8 changes: 8 additions & 0 deletions web-components/src/variants/pro.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,14 @@ merch-card-collection.plans:is(.one-merch-card, .two-merch-cards, .three-merch-c
margin-inline: auto;
}

/* The one-merch-card grid zeroes the section .content padding to center the lone
card, which also wipes the C2 section-spacing metadata (e.g. spacing-2xs-top).
Restore the authored top spacing so single pro cards keep section rhythm.
MWPW-204106. */
.one-merch-card.spacing-2xs-top {
padding-top: var(--s2a-viewport-vertical-padding-2xs);
}

@media screen and ${TABLET_UP} {
merch-card-collection.plans:is(.two-merch-cards, .three-merch-cards, .four-merch-cards):has(merch-card[variant="pro"]) {
grid-template-columns: repeat(2, minmax(0, 1fr));
Expand Down
Loading