milo icon indicating copy to clipboard operation
milo copied to clipboard

MWPW-174046 Plans Cards - adjust for long badge with mnemonics

Open bozojovicic opened this issue 2 months ago • 1 comments

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

bozojovicic avatar Nov 13 '25 12:11 bozojovicic

Reminder to set the Ready for Stage label - to queue this to get merged to stage & production.

github-actions[bot] avatar Nov 20 '25 01:11 github-actions[bot]

Error merging 5114: MWPW-174046 Plans Cards - adjust for long badge with mnemonics Pull Request is not mergeable

milo-pr-merge[bot] avatar Dec 01 '25 09:12 milo-pr-merge[bot]

Error merging 5114: MWPW-174046 Plans Cards - adjust for long badge with mnemonics Pull Request is not mergeable

milo-pr-merge[bot] avatar Dec 02 '25 09:12 milo-pr-merge[bot]