-
Notifications
You must be signed in to change notification settings - Fork 174
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
[MWPW-160719] - Support media only in Editorial-Card #3144
Conversation
fix: no border for media card
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #3144 +/- ##
=======================================
Coverage 96.34% 96.35%
=======================================
Files 245 245
Lines 56312 56380 +68
=======================================
+ Hits 54252 54323 +71
+ Misses 2060 2057 -3 ☔ View full report in Codecov by Sentry. |
const editorialCardWithMediaOnly = editorialCards[8]; | ||
expect(editorialCardWithMediaOnly.classList.contains('no-foreground')).to.be.true; |
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.
Nit: no need to cache in here
const editorialCardWithMediaOnly = editorialCards[8]; | |
expect(editorialCardWithMediaOnly.classList.contains('no-foreground')).to.be.true; | |
expect(editorialCards[8].classList.contains('no-foreground')).to.be.true; |
Reminder to set the |
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.
Verified, testing details https://jira.corp.adobe.com/browse/MWPW-160719
This PR will add support to have only media in Editorial card. When there is no copy content in the editorial-card, the media will fill the container.
Resolves: MWPW-160719
Test URLs: