-
Notifications
You must be signed in to change notification settings - Fork 15
MWPW-185783: Design QA Part 2 - Full Pricing Express Card Width #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Fixed full-pricing-express cards not filling viewport width on mobile and tablet. Cards were constrained by Milo's .content max-width and .collection-container grid layout. Changes: - Added mobile media query (max-width: 767px) to override Milo constraints - Added tablet media query rules to override .collection-container grid - Changed padding from 40px to 16px on mobile/tablet per design spec - Changed mobile/tablet breakpoint from 1024px to 1199px - Additional design QA fixes for simplified-pricing-express and mas-mnemonic
1df48bc to
51985b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with comments.
(And you will need to fix the nala test)
In overall, looks good to me.
| merch-card[variant="full-pricing-express"] span[is="inline-price"][data-template='strikethrough'] .price, | ||
| merch-card[variant="full-pricing-express"] span[is="inline-price"][data-template='price'] .price-strikethrough { | ||
| color: var(--spectrum-gray-500); | ||
| color: #8F8F8F; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering if we could use an existing color variable instead.
In Figma, it’s using “Palette/gray/500” (#8f8f8f), but I’m not sure where this value is coming from.
In the long term, if we keep using arbitrary colors, the overall look of the site may feel less polished.
| padding: 24px 16px; | ||
| border-radius: var(--merch-card-full-pricing-express-price-radius); | ||
| border: 1px solid #e0e2ff; | ||
| border: 1px solid #d5d5d5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
Resolves https://jira.corp.adobe.com/browse/MWPW-185783
Fixed full-pricing-express cards not filling viewport width on mobile and tablet. Cards were constrained by Milo's
.contentmax-width and.collection-containergrid layout.Changes:
.collection-containergridTest URLs:
Checklist: