MWPW-174046 Plans Cards - adjust for long badge with mnemonics
When MAS plans card has mnemonics, the badge width should be reduced for the width of these mnemonics.
Resolves: MWPW-174046
Math :
Badge max width = single card width * card size - 40px for margins - nmb of mnemonics * 48px
where card size is 2 for wide and super-wide, 1 for single cards
on mobile card size is always 1
Test pages : https://mwpw174046--milo--bozojovicic.aem.page/drafts/bozo/cardscoll https://mwpw174046--milo--bozojovicic.aem.page/drafts/bozo/cards
Test URLs:
- Before: https://main--milo--adobecom.aem.live/?martech=off
- After: https://mwpw174046--milo--bozojovicic.aem.live/?martech=off
Reminder to set the Ready for Stage label - to queue this to get merged to stage & production.
Error merging 5114: MWPW-174046 Plans Cards - adjust for long badge with mnemonics Pull Request is not mergeable
Error merging 5114: MWPW-174046 Plans Cards - adjust for long badge with mnemonics Pull Request is not mergeable